Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 107.1 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6644/0.6644, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.33 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.124, allocations: 76.17 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02265/0.1468, allocations: 20.24 MB / 0.6514 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009848/0.1566, allocations: 6.445 MB / 0.6577 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.158, allocations: 83.62 kB / 0.6577 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005462/0.1635, allocations: 2.253 MB / 0.6599 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.166, allocations: 1.244 MB / 0.6611 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.169, allocations: 1.273 MB / 0.6624 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004581/0.1736, allocations: 4.862 MB / 0.6671 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00527/0.1789, allocations: 5.603 MB / 0.6726 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.1812, allocations: 2.115 MB / 0.6747 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.1835, allocations: 2.344 MB / 0.677 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.184, allocations: 432 kB / 0.6774 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.1856, allocations: 1.003 MB / 0.6784 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.1869, allocations: 1.669 MB / 0.68 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.1887, allocations: 1.91 MB / 0.6819 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.1938, allocations: 6.513 MB / 0.6882 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1939, allocations: 0 / 0.6882 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1939, allocations: 4 kB / 0.6882 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.188e-05/0.1939, allocations: 0 / 0.6882 GB, free: 10.74 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005269/0.1992, allocations: 3.459 MB / 0.6916 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1992, allocations: 8.031 kB / 0.6916 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005015/0.1998, allocations: 458.5 kB / 0.692 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.2027, allocations: 0.6371 MB / 0.6927 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/0.2058, allocations: 2.037 MB / 0.6946 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.206, allocations: 230.2 kB / 0.6949 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/0.2064, allocations: 296 kB / 0.6952 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006372/0.2128, allocations: 4.894 MB / 0.6999 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.344e-05/0.2128, allocations: 11.84 kB / 0.6999 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.2131, allocations: 128 kB / 0.7001 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000438/0.2136, allocations: 233.7 kB / 0.7003 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/0.2185, allocations: 3.75 MB / 0.7039 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.2361, allocations: 21.4 MB / 0.7248 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.2378, allocations: 1.306 MB / 0.7261 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.2392, allocations: 1.054 MB / 0.7272 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.2392, allocations: 9 kB / 0.7272 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.2393, allocations: 47.56 kB / 0.7272 GB, free: 456 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.365e-06/0.2393, allocations: 0 / 0.7272 GB, free: 456 kB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02147/0.2608, allocations: 8.653 MB / 0.7357 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2608, allocations: 76.59 kB / 0.7357 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.2621, allocations: 1.13 MB / 0.7368 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-05/0.2622, allocations: 49.7 kB / 0.7369 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007145/0.263, allocations: 1.292 MB / 0.7381 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.2633, allocations: 489 kB / 0.7386 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/0.2638, allocations: 291.4 kB / 0.7389 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.2639, allocations: 309 kB / 0.7392 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.2652, allocations: 0.9096 MB / 0.7401 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.2666, allocations: 1.322 MB / 0.7414 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.2695, allocations: 2.426 MB / 0.7437 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2695, allocations: 4 kB / 0.7437 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005589/0.2751, allocations: 3.463 MB / 0.7471 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.2751, allocations: 12 kB / 0.7471 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2751, allocations: 12.84 kB / 0.7471 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.2781, allocations: 1.194 MB / 0.7483 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.279, allocations: 259.5 kB / 0.7486 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2869/0.5659, allocations: 13.82 MB / 0.762 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5672, allocations: 89.42 kB / 0.7621 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.5673, allocations: 63.09 kB / 0.7622 GB, free: 113.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001572/0.5689, allocations: 1.115 MB / 0.7633 GB, free: 112.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.5691, allocations: 166.5 kB / 0.7634 GB, free: 112.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005563/0.5747, allocations: 3.174 MB / 0.7665 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5747, allocations: 14.09 kB / 0.7666 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.761e-05/0.5748, allocations: 11.66 kB / 0.7666 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/0.5748, allocations: 6.656 kB / 0.7666 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009797/0.5847, allocations: 6.247 MB / 0.7727 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5847, allocations: 7.75 kB / 0.7727 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.5853, allocations: 144.5 kB / 0.7728 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/0.5881, allocations: 1.08 MB / 0.7739 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.5882, allocations: 33.38 kB / 0.7739 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.6011, allocations: 13.52 MB / 0.7871 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6011, allocations: 3.969 kB / 0.7871 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/0.6053, allocations: 3.153 MB / 0.7902 GB, free: 99.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004921/0.6058, allocations: 426.8 kB / 0.7906 GB, free: 98.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.6059, allocations: 39.17 kB / 0.7906 GB, free: 98.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.6066, allocations: 74.38 kB / 0.7907 GB, free: 98.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.6068, allocations: 124.7 kB / 0.7908 GB, free: 98.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.6069, allocations: 42.12 kB / 0.7909 GB, free: 98.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000816/0.6077, allocations: 0.7669 MB / 0.7916 GB, free: 98.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6077, allocations: 4 kB / 0.7916 GB, free: 98.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00143/0.6091, allocations: 0.6618 MB / 0.7923 GB, free: 98.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003885/0.613, allocations: 3.741 MB / 0.7959 GB, free: 95.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003385/0.6164, allocations: 3.124 MB / 0.799 GB, free: 92.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6164, allocations: 4.188 kB / 0.799 GB, free: 92.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.6186, allocations: 1.96 MB / 0.8009 GB, free: 90.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6201, allocations: 0.4975 MB / 0.8014 GB, free: 90.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.6409, allocations: 19.1 MB / 0.82 GB, free: 70.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.6425, allocations: 2.336 MB / 0.8223 GB, free: 68.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007806/0.6432, allocations: 348.7 kB / 0.8226 GB, free: 68.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000803/0.6441, allocations: 1.009 MB / 0.8236 GB, free: 67 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6441, allocations: 4 kB / 0.8236 GB, free: 67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06861/0.7127, allocations: 52.29 MB / 0.8747 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.54, allocations: 6.812 kB / 0.8747 GB, free: 15.36 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)