Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.0009489/0.0009489, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.184/1.184, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6389/0.6389, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 67.67 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02212/0.1402, allocations: 23.4 MB / 0.6545 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009731/0.15, allocations: 6.488 MB / 0.6608 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.1516, allocations: 95.56 kB / 0.6609 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.1551, allocations: 1.496 MB / 0.6623 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.1586, allocations: 1.929 MB / 0.6642 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.1615, allocations: 1.46 MB / 0.6656 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006399/0.1679, allocations: 6.919 MB / 0.6724 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007155/0.1751, allocations: 6.941 MB / 0.6792 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.1786, allocations: 2.874 MB / 0.682 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/0.1828, allocations: 3.478 MB / 0.6854 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008764/0.1837, allocations: 0.5273 MB / 0.6859 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.1858, allocations: 1.182 MB / 0.6871 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002/0.1878, allocations: 2.452 MB / 0.6895 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.1902, allocations: 2.544 MB / 0.6919 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.197, allocations: 8.519 MB / 0.7003 GB, free: 14.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.197, allocations: 0 / 0.7003 GB, free: 14.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.197, allocations: 0 / 0.7003 GB, free: 14.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001679/0.1972, allocations: 0 / 0.7003 GB, free: 14.3 MB / 0.545 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.007038/0.2042, allocations: 4.435 MB / 0.7046 GB, free: 9.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2043, allocations: 8.031 kB / 0.7046 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006619/0.2049, allocations: 0.5753 MB / 0.7052 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007302/0.2123, allocations: 1.673 MB / 0.7068 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.2169, allocations: 2.7 MB / 0.7094 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.2171, allocations: 271.7 kB / 0.7097 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008839/0.218, allocations: 360.3 kB / 0.71 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009744/0.2278, allocations: 7.49 MB / 0.7173 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.2279, allocations: 11.88 kB / 0.7174 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/0.2282, allocations: 159.9 kB / 0.7175 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004861/0.2287, allocations: 487.3 kB / 0.718 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008166/0.2369, allocations: 5.697 MB / 0.7235 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03079/0.2677, allocations: 31.5 MB / 0.7543 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.2707, allocations: 2.105 MB / 0.7564 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2559/0.5266, allocations: 2.171 MB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.5269, allocations: 16.47 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5269, allocations: 51.72 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 8.205e-06/0.5269, allocations: 1.562 kB / 0.7585 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=251): time 0.2299/0.7569, allocations: 77.03 MB / 0.8338 GB, free: 57.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.757, allocations: 77.41 kB / 0.8338 GB, free: 57.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.7588, allocations: 1.666 MB / 0.8355 GB, free: 56.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.7592, allocations: 65.7 kB / 0.8355 GB, free: 56.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/0.7598, allocations: 1.75 MB / 0.8372 GB, free: 54.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006528/0.7605, allocations: 0.8455 MB / 0.8381 GB, free: 53.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.7615, allocations: 481.2 kB / 0.8385 GB, free: 53.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.154e-05/0.7615, allocations: 309.1 kB / 0.8388 GB, free: 52.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.7643, allocations: 2.734 MB / 0.8415 GB, free: 49.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.7674, allocations: 3.329 MB / 0.8447 GB, free: 46.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006194/0.7736, allocations: 6.393 MB / 0.851 GB, free: 39.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.7736, allocations: 4 kB / 0.851 GB, free: 39.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02472/0.7983, allocations: 14.69 MB / 0.8653 GB, free: 25.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.7984, allocations: 13.41 kB / 0.8653 GB, free: 25.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.7984, allocations: 16 kB / 0.8654 GB, free: 25.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02369/0.8221, allocations: 9.24 MB / 0.8744 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8232, allocations: 297.3 kB / 0.8747 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06863/0.8918, allocations: 52.35 MB / 0.9258 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.8944, allocations: 219.7 kB / 0.926 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/0.8948, allocations: 99.98 kB / 0.9261 GB, free: 9.973 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002577/0.8974, allocations: 1.59 MB / 0.9276 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/0.898, allocations: 249.1 kB / 0.9279 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02867/0.9267, allocations: 14.75 MB / 0.9423 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.9267, allocations: 24 kB / 0.9423 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.212e-05/0.9268, allocations: 48 kB / 0.9424 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/0.9269, allocations: 11.95 kB / 0.9424 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03701/0.9639, allocations: 20.53 MB / 0.9624 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/0.9639, allocations: 4 kB / 0.9624 GB, free: 4.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.9646, allocations: 160.6 kB / 0.9626 GB, free: 4.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02565/0.9903, allocations: 9.004 MB / 0.9714 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003081/0.9906, allocations: 48 kB / 0.9714 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07279/1.063, allocations: 51.91 MB / 1.022 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/1.063, allocations: 19.94 kB / 1.022 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02864/1.092, allocations: 14.36 MB / 1.036 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.094, allocations: 0.8455 MB / 1.037 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/1.095, allocations: 50.91 kB / 1.037 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.097, allocations: 211.7 kB / 1.037 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/1.098, allocations: 237.6 kB / 1.037 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/1.099, allocations: 67.94 kB / 1.038 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001733/1.1, allocations: 1.125 MB / 1.039 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.1, allocations: 7.938 kB / 1.039 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004814/1.105, allocations: 1.617 MB / 1.04 GB, free: 3.859 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3175/1.423, allocations: 14.96 MB / 1.055 GB, free: 251 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01804/1.441, allocations: 10.56 MB / 1.065 GB, free: 248.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.441, allocations: 0 / 1.065 GB, free: 248.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01329/1.454, allocations: 7.308 MB / 1.072 GB, free: 245.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.457, allocations: 0.5508 MB / 1.073 GB, free: 245.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07733/1.534, allocations: 50.82 MB / 1.122 GB, free: 204.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.537, allocations: 3.23 MB / 1.126 GB, free: 201 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009213/1.538, allocations: 390.1 kB / 1.126 GB, free: 200.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.539, allocations: 1.464 MB / 1.127 GB, free: 199.1 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.539, allocations: 0 / 1.127 GB, free: 199.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/1.676, allocations: 120.8 MB / 1.245 GB, free: 78.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.65, allocations: 14.61 kB / 1.245 GB, free: 78.84 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)