Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001193/0.001193, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.186/1.186, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6043/0.6043, allocations: 115.3 MB / 405.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 65.19 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 76.18 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2371/0.3565, allocations: 37.58 MB / 0.5926 GB, free: 18.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.3714, allocations: 10.95 MB / 0.6033 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.374, allocations: 140.7 kB / 0.6034 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007721/0.3818, allocations: 4.066 MB / 0.6074 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.3869, allocations: 2.086 MB / 0.6094 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.3915, allocations: 1.979 MB / 0.6113 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.4031, allocations: 13.19 MB / 0.6242 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.4181, allocations: 12.44 MB / 0.6364 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.4232, allocations: 3.414 MB / 0.6397 GB, free: 4.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006149/0.4294, allocations: 4.588 MB / 0.6442 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.4304, allocations: 0.5586 MB / 0.6447 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.4336, allocations: 1.552 MB / 0.6462 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.4361, allocations: 2.884 MB / 0.6491 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.4398, allocations: 3.364 MB / 0.6523 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.4496, allocations: 12.07 MB / 0.6641 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4496, allocations: 0 / 0.6641 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4496, allocations: 0 / 0.6641 GB, free: 10.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002513/0.4499, allocations: 0 / 0.6641 GB, free: 10.96 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01114/0.461, allocations: 6.315 MB / 0.6703 GB, free: 4.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4611, allocations: 12.03 kB / 0.6703 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/0.4621, allocations: 0.8255 MB / 0.6711 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.4665, allocations: 1.067 MB / 0.6722 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004966/0.4715, allocations: 3.427 MB / 0.6755 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.4718, allocations: 419.8 kB / 0.6759 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/0.4725, allocations: 0.5394 MB / 0.6764 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.4854, allocations: 9.377 MB / 0.6856 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-05/0.4855, allocations: 27.7 kB / 0.6856 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/0.486, allocations: 247.9 kB / 0.6859 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004933/0.4865, allocations: 418.9 kB / 0.6863 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.4966, allocations: 7.124 MB / 0.6932 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03615/0.5328, allocations: 41.33 MB / 0.7336 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.5368, allocations: 3.103 MB / 0.7366 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.5394, allocations: 2.138 MB / 0.7387 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.5395, allocations: 22 kB / 0.7387 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5395, allocations: 60.56 kB / 0.7388 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=209): time 3.757e-06/0.5395, allocations: 0 / 0.7388 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.02115/0.5607, allocations: 10.55 MB / 0.7491 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.5608, allocations: 77.41 kB / 0.7491 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.5634, allocations: 2.002 MB / 0.7511 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.5636, allocations: 61.7 kB / 0.7512 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.565, allocations: 2.404 MB / 0.7535 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.5655, allocations: 0.7318 MB / 0.7542 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006966/0.5662, allocations: 477.2 kB / 0.7547 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.5663, allocations: 305.1 kB / 0.755 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.5681, allocations: 1.376 MB / 0.7563 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.5704, allocations: 2.1 MB / 0.7584 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004321/0.5747, allocations: 3.773 MB / 0.762 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.5748, allocations: 8 kB / 0.7621 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00726/0.582, allocations: 5.072 MB / 0.767 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.5821, allocations: 12 kB / 0.767 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.5821, allocations: 24.88 kB / 0.767 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.5854, allocations: 1.576 MB / 0.7686 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5868, allocations: 451.2 kB / 0.769 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.6058, allocations: 17.07 MB / 0.7857 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.6074, allocations: 155.8 kB / 0.7858 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.6076, allocations: 104.2 kB / 0.7859 GB, free: 8.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002563/0.6102, allocations: 1.945 MB / 0.7878 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.6106, allocations: 288.7 kB / 0.7881 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00656/0.6172, allocations: 4.455 MB / 0.7925 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.6172, allocations: 20 kB / 0.7925 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-05/0.6173, allocations: 16 kB / 0.7925 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.6173, allocations: 11.95 kB / 0.7925 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.6308, allocations: 9.66 MB / 0.8019 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6308, allocations: 4.125 kB / 0.8019 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.6317, allocations: 239.6 kB / 0.8022 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.6347, allocations: 1.432 MB / 0.8036 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6348, allocations: 40 kB / 0.8036 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.6534, allocations: 17.06 MB / 0.8203 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6534, allocations: 4 kB / 0.8203 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.6594, allocations: 4.544 MB / 0.8247 GB, free: 64 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2115/0.8709, allocations: 0.6258 MB / 0.8253 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.8712, allocations: 40.88 kB / 0.8254 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.8724, allocations: 120.2 kB / 0.8255 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.8729, allocations: 180 kB / 0.8256 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.873, allocations: 60.47 kB / 0.8257 GB, free: 211 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001744/0.8747, allocations: 1.315 MB / 0.827 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8747, allocations: 0 / 0.827 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002944/0.8777, allocations: 1.143 MB / 0.8281 GB, free: 210.9 MB / 0.6387 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006718/0.8844, allocations: 5.158 MB / 0.8331 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006856/0.8913, allocations: 4.695 MB / 0.8377 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.8913, allocations: 2.594 kB / 0.8377 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.8953, allocations: 2.918 MB / 0.8406 GB, free: 207 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.8987, allocations: 0.831 MB / 0.8414 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04168/0.9404, allocations: 35.92 MB / 0.8765 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.9432, allocations: 3.698 MB / 0.8801 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00179/0.945, allocations: 0.548 MB / 0.8806 GB, free: 182.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.9464, allocations: 1.941 MB / 0.8825 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.9464, allocations: 0 / 0.8825 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/1.177, allocations: 83.67 MB / 0.9642 GB, free: 98.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001217/1.177, allocations: 245 kB / 0.9644 GB, free: 97.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/4.326, allocations: 0 / 0.9644 GB, free: 97.79 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)