Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 178.9 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008121/0.0008119, allocations: 100.2 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 15.44 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02424/0.233, allocations: 20.48 MB / 0.9202 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.2456, allocations: 6.285 MB / 0.9263 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.2481, allocations: 75.5 kB / 0.9264 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.2494, allocations: 457.2 kB / 0.9268 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.2536, allocations: 1.203 MB / 0.928 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.2567, allocations: 0.9124 MB / 0.9289 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005025/0.2618, allocations: 3.216 MB / 0.932 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.2739, allocations: 7.083 MB / 0.9389 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.2777, allocations: 1.721 MB / 0.9406 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.2815, allocations: 2.056 MB / 0.9426 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.2823, allocations: 244 kB / 0.9429 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.2841, allocations: 0.4956 MB / 0.9433 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.2862, allocations: 1.91 MB / 0.9452 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.2875, allocations: 0.8433 MB / 0.946 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007227/0.2947, allocations: 6.884 MB / 0.9527 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2947, allocations: 4 kB / 0.9528 GB, free: 9.812 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2947, allocations: 0 / 0.9528 GB, free: 9.812 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001992/0.295, allocations: 0 / 0.9528 GB, free: 9.812 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01007/0.305, allocations: 3.582 MB / 0.9563 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.3051, allocations: 11.97 kB / 0.9563 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001677/0.3068, allocations: 0.5789 MB / 0.9568 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.319, allocations: 1.785 MB / 0.9586 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007581/0.3266, allocations: 2.509 MB / 0.961 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.3269, allocations: 271.3 kB / 0.9613 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.3285, allocations: 363.8 kB / 0.9616 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.3503, allocations: 7.424 MB / 0.9689 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.3505, allocations: 19.88 kB / 0.9689 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007583/0.3513, allocations: 159.9 kB / 0.969 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009263/0.3522, allocations: 487.3 kB / 0.9695 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.3701, allocations: 5.677 MB / 0.9751 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/0.4246, allocations: 31.65 MB / 1.006 GB, free: 132 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/0.4292, allocations: 2.082 MB / 1.008 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.4294, allocations: 13.31 kB / 1.008 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.4295, allocations: 47.88 kB / 1.008 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 5.801e-06/0.4295, allocations: 4 kB / 1.008 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=251): time 0.8727/1.302, allocations: 75.26 MB / 1.082 GB, free: 136.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.302, allocations: 79.53 kB / 1.082 GB, free: 136.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/1.304, allocations: 1.652 MB / 1.083 GB, free: 135.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005784/1.305, allocations: 64.45 kB / 1.083 GB, free: 135.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009301/1.306, allocations: 1.757 MB / 1.085 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000782/1.307, allocations: 0.8487 MB / 1.086 GB, free: 134 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.307, allocations: 51.72 kB / 1.086 GB, free: 134 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.307, allocations: 410.2 kB / 1.086 GB, free: 133.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/1.31, allocations: 2.726 MB / 1.089 GB, free: 132.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/1.313, allocations: 3.306 MB / 1.092 GB, free: 128.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/1.317, allocations: 3.055 MB / 1.095 GB, free: 125.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.317, allocations: 4 kB / 1.095 GB, free: 125.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02843/1.345, allocations: 14.64 MB / 1.109 GB, free: 110.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.345, allocations: 12 kB / 1.109 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.345, allocations: 16.91 kB / 1.109 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02776/1.373, allocations: 9.236 MB / 1.119 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.374, allocations: 303.4 kB / 1.119 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06458/1.439, allocations: 49.57 MB / 1.167 GB, free: 50.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.442, allocations: 227.7 kB / 1.167 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.442, allocations: 96.62 kB / 1.168 GB, free: 50.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00247/1.445, allocations: 1.586 MB / 1.169 GB, free: 48.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/1.445, allocations: 241.1 kB / 1.169 GB, free: 48.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02907/1.475, allocations: 14.72 MB / 1.184 GB, free: 33.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/1.475, allocations: 28 kB / 1.184 GB, free: 33.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/1.475, allocations: 44 kB / 1.184 GB, free: 33.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.913e-05/1.475, allocations: 16.73 kB / 1.184 GB, free: 33.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03712/1.512, allocations: 20.48 MB / 1.204 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/1.512, allocations: 11.38 kB / 1.204 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/1.513, allocations: 163.7 kB / 1.204 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02701/1.54, allocations: 8.999 MB / 1.213 GB, free: 3.961 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005687/1.54, allocations: 55.98 kB / 1.213 GB, free: 3.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07636/1.617, allocations: 49.21 MB / 1.261 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.617, allocations: 8.625 kB / 1.261 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03472/1.652, allocations: 14.77 MB / 1.275 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/1.654, allocations: 0.8531 MB / 1.276 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007086/1.655, allocations: 51.98 kB / 1.276 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.658, allocations: 207.7 kB / 1.276 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/1.659, allocations: 241.5 kB / 1.277 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.659, allocations: 68 kB / 1.277 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001695/1.661, allocations: 1.106 MB / 1.278 GB, free: 168 kB / 0.7605 GB Notification: Performance of sort global known variables: time 1.91e-07/1.661, allocations: 448 / 1.278 GB, free: 168 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005433/1.666, allocations: 1.598 MB / 1.279 GB, free: 14.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0344/1.701, allocations: 17.11 MB / 1.296 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02475/1.725, allocations: 10.34 MB / 1.306 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.725, allocations: 0 / 1.306 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.02002/1.746, allocations: 7.159 MB / 1.313 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/1.749, allocations: 491 kB / 1.314 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07732/1.827, allocations: 47.42 MB / 1.36 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004036/1.831, allocations: 3.299 MB / 1.363 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001226/1.832, allocations: 395.3 kB / 1.363 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.833, allocations: 1.489 MB / 1.365 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/1.833, allocations: 0 / 1.365 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5714/2.405, allocations: 112.3 MB / 1.475 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/2.405, allocations: 250.6 kB / 1.475 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.562/6.967, allocations: 0 / 1.475 GB, free: 235.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)