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.004772/0.004772, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001171/0.001171, allocations: 198.8 kB / 16.79 MB, free: 6.242 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.18/1.18, allocations: 222.9 MB / 240.5 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6388/0.6388, allocations: 115.3 MB / 405.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 493 MB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2797, allocations: 76.17 MB / 0.5558 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01872/0.2984, allocations: 23.2 MB / 0.5785 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008984/0.3074, allocations: 6.499 MB / 0.5848 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3093, allocations: 85.38 kB / 0.5849 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.3125, allocations: 1.359 MB / 0.5863 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.3161, allocations: 1.739 MB / 0.588 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.319, allocations: 1.338 MB / 0.5893 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007748/0.3268, allocations: 10.61 MB / 0.5996 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007236/0.334, allocations: 7.615 MB / 0.6071 GB, free: 108 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.3373, allocations: 2.409 MB / 0.6094 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004784/0.3421, allocations: 3.615 MB / 0.6129 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.3432, allocations: 380 kB / 0.6133 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.3461, allocations: 1.19 MB / 0.6145 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.3488, allocations: 2.319 MB / 0.6167 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.3516, allocations: 2.349 MB / 0.619 GB, free: 3.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.3578, allocations: 8.386 MB / 0.6272 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3578, allocations: 0 / 0.6272 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.3578, allocations: 0 / 0.6272 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.563e-05/0.3579, allocations: 0 / 0.6272 GB, free: 11.4 MB / 478.1 MB 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.006064/0.364, allocations: 4.435 MB / 0.6315 GB, free: 6.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.364, allocations: 11.97 kB / 0.6316 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006459/0.3647, allocations: 0.5675 MB / 0.6321 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/0.372, allocations: 1.685 MB / 0.6338 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.3756, allocations: 2.571 MB / 0.6363 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.3758, allocations: 271.7 kB / 0.6365 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005121/0.3763, allocations: 364.2 kB / 0.6369 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009417/0.3857, allocations: 7.494 MB / 0.6442 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.3858, allocations: 11.88 kB / 0.6442 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.3862, allocations: 159.9 kB / 0.6444 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004908/0.3867, allocations: 487.3 kB / 0.6448 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007528/0.3942, allocations: 5.705 MB / 0.6504 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.4219, allocations: 31.72 MB / 0.6814 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.4245, allocations: 2.086 MB / 0.6834 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.4272, allocations: 2.19 MB / 0.6855 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.4273, allocations: 17.31 kB / 0.6856 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4274, allocations: 51.81 kB / 0.6856 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.396e-06/0.4274, allocations: 0 / 0.6856 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.4481/0.8755, allocations: 76.98 MB / 0.7608 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.8756, allocations: 85.2 kB / 0.7609 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.8775, allocations: 1.673 MB / 0.7625 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/0.8777, allocations: 65.92 kB / 0.7626 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006416/0.8784, allocations: 1.74 MB / 0.7643 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005363/0.8789, allocations: 0.854 MB / 0.7651 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008743/0.8798, allocations: 483.7 kB / 0.7656 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.145e-05/0.8798, allocations: 302.8 kB / 0.7658 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.8828, allocations: 2.731 MB / 0.7685 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.886, allocations: 3.329 MB / 0.7718 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006546/0.8926, allocations: 6.391 MB / 0.778 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.8926, allocations: 5.594 kB / 0.778 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02467/0.9173, allocations: 14.68 MB / 0.7923 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9173, allocations: 17.97 kB / 0.7924 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.9174, allocations: 16.91 kB / 0.7924 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02333/0.9407, allocations: 9.237 MB / 0.8014 GB, free: 130 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.9416, allocations: 299.5 kB / 0.8017 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05255/0.9941, allocations: 47.44 MB / 0.848 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.9964, allocations: 227.7 kB / 0.8482 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.9967, allocations: 96 kB / 0.8483 GB, free: 81.21 MB / 0.5762 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.001952/0.9986, allocations: 1.59 MB / 0.8499 GB, free: 79.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/0.999, allocations: 245.1 kB / 0.8501 GB, free: 79.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02428/1.023, allocations: 14.75 MB / 0.8645 GB, free: 64.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/1.023, allocations: 30.94 kB / 0.8645 GB, free: 64.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.198e-05/1.023, allocations: 44 kB / 0.8646 GB, free: 64.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/1.023, allocations: 15.89 kB / 0.8646 GB, free: 64.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0304/1.054, allocations: 20.51 MB / 0.8846 GB, free: 43.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.054, allocations: 4.844 kB / 0.8846 GB, free: 43.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/1.054, allocations: 163.7 kB / 0.8848 GB, free: 43.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02336/1.078, allocations: 9.005 MB / 0.8936 GB, free: 34.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/1.078, allocations: 51.98 kB / 0.8936 GB, free: 34.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05612/1.134, allocations: 47.02 MB / 0.9396 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/1.134, allocations: 19.88 kB / 0.9396 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02729/1.162, allocations: 14.36 MB / 0.9536 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.163, allocations: 0.8455 MB / 0.9544 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/1.164, allocations: 52.38 kB / 0.9545 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.165, allocations: 203.7 kB / 0.9547 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.167, allocations: 241.5 kB / 0.9549 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.167, allocations: 60 kB / 0.955 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001346/1.168, allocations: 1.133 MB / 0.9561 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/1.168, allocations: 4 kB / 0.9561 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003729/1.172, allocations: 1.609 MB / 0.9576 GB, free: 44 kB / 0.6075 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.02733/1.199, allocations: 14.98 MB / 0.9723 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01911/1.218, allocations: 10.53 MB / 0.9826 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.218, allocations: 0 / 0.9826 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.1991/1.417, allocations: 7.3 MB / 0.9897 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.421, allocations: 0.5069 MB / 0.9902 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08143/1.502, allocations: 55.14 MB / 1.044 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/1.505, allocations: 3.218 MB / 1.047 GB, free: 182 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009814/1.506, allocations: 395.3 kB / 1.048 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.507, allocations: 1.464 MB / 1.049 GB, free: 180.2 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.507, allocations: 0 / 1.049 GB, free: 180.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/3.577, allocations: 117 MB / 1.163 GB, free: 63.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/3.577, allocations: 257 kB / 1.163 GB, free: 63.44 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/6.667, allocations: 0 / 1.163 GB, free: 63.44 MB / 0.6387 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)