Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.00102/0.00102, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001117/0.001117, allocations: 192 kB / 17.2 MB, free: 5.598 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.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3304, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01003/0.3404, allocations: 9.996 MB / 0.5771 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.3454, allocations: 3.046 MB / 0.58 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.3461, allocations: 33.91 kB / 0.5801 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.3477, allocations: 0.6815 MB / 0.5807 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.3492, allocations: 0.6941 MB / 0.5814 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3508, allocations: 0.6397 MB / 0.582 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.3536, allocations: 2.736 MB / 0.5847 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.3566, allocations: 2.542 MB / 0.5872 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.3581, allocations: 1.133 MB / 0.5883 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.3597, allocations: 1.376 MB / 0.5896 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.36, allocations: 216.5 kB / 0.5898 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.3609, allocations: 493.2 kB / 0.5903 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.3617, allocations: 0.9773 MB / 0.5913 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008608/0.3625, allocations: 1.019 MB / 0.5923 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.3648, allocations: 3.387 MB / 0.5956 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3648, allocations: 4 kB / 0.5956 GB, free: 13.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3648, allocations: 3.938 kB / 0.5956 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.3649, allocations: 0 / 0.5956 GB, free: 13.82 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00283/0.3677, allocations: 1.947 MB / 0.5975 GB, free: 11.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3678, allocations: 12.62 kB / 0.5975 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.368, allocations: 248.7 kB / 0.5977 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/0.3743, allocations: 0.8844 MB / 0.5986 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.3762, allocations: 1.118 MB / 0.5997 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.3763, allocations: 111.3 kB / 0.5998 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.3766, allocations: 148.3 kB / 0.5999 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.3801, allocations: 3.021 MB / 0.6029 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.3802, allocations: 3.938 kB / 0.6029 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.3804, allocations: 59.98 kB / 0.6029 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.3806, allocations: 178.9 kB / 0.6031 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.3835, allocations: 2.604 MB / 0.6057 GB, free: 3.281 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.397, allocations: 13.57 MB / 0.6189 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.3988, allocations: 1.297 MB / 0.6202 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.4, allocations: 1.05 MB / 0.6212 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.4001, allocations: 12.66 kB / 0.6212 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4001, allocations: 47.22 kB / 0.6213 GB, free: 2.184 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.255e-06/0.4001, allocations: 0 / 0.6213 GB, free: 2.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=139): time 0.0711/0.4712, allocations: 19.37 MB / 0.6402 GB, free: 14.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4713, allocations: 72.64 kB / 0.6402 GB, free: 14.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/0.4723, allocations: 0.9222 MB / 0.6411 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/0.4724, allocations: 45.7 kB / 0.6412 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.4727, allocations: 0.7322 MB / 0.6419 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.4731, allocations: 485 kB / 0.6424 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.4736, allocations: 291.5 kB / 0.6426 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4737, allocations: 353.9 kB / 0.643 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.4753, allocations: 1.339 MB / 0.6443 GB, free: 10.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.477, allocations: 1.659 MB / 0.6459 GB, free: 8.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.4804, allocations: 3.09 MB / 0.6489 GB, free: 5.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4804, allocations: 4 kB / 0.6489 GB, free: 5.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01019/0.4906, allocations: 5.642 MB / 0.6544 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4907, allocations: 15.94 kB / 0.6545 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4907, allocations: 8 kB / 0.6545 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007873/0.4986, allocations: 2.73 MB / 0.6571 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.4993, allocations: 187.7 kB / 0.6573 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03167/0.5309, allocations: 25.73 MB / 0.6824 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5323, allocations: 91.95 kB / 0.6825 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.5325, allocations: 56 kB / 0.6826 GB, free: 2.348 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.5335, allocations: 0.7431 MB / 0.6833 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.5338, allocations: 122.5 kB / 0.6834 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.544, allocations: 5.392 MB / 0.6887 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.544, allocations: 12 kB / 0.6887 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.037e-05/0.5441, allocations: 20 kB / 0.6887 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5441, allocations: 7.969 kB / 0.6887 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.5592, allocations: 8.629 MB / 0.6971 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.5593, allocations: 4 kB / 0.6971 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.5597, allocations: 120.3 kB / 0.6973 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008365/0.5681, allocations: 2.575 MB / 0.6998 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.5682, allocations: 24 kB / 0.6998 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03148/0.5997, allocations: 23.02 MB / 0.7223 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5997, allocations: 4 kB / 0.7223 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.6105, allocations: 5.126 MB / 0.7273 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/0.6114, allocations: 479.5 kB / 0.7277 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/0.6117, allocations: 24 kB / 0.7278 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6127, allocations: 75.91 kB / 0.7278 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004958/0.6132, allocations: 129 kB / 0.728 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.6133, allocations: 36 kB / 0.728 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00091/0.6142, allocations: 0.6395 MB / 0.7286 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6142, allocations: 4 kB / 0.7286 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002569/0.6168, allocations: 0.7188 MB / 0.7293 GB, free: 1.621 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/0.6276, allocations: 5.707 MB / 0.7349 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007696/0.6353, allocations: 4.733 MB / 0.7395 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6353, allocations: 0 / 0.7395 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004933/0.6403, allocations: 2.677 MB / 0.7421 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.6416, allocations: 219.9 kB / 0.7424 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2777/0.9193, allocations: 21.83 MB / 0.7637 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.9207, allocations: 1.704 MB / 0.7653 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000847/0.9215, allocations: 320.6 kB / 0.7656 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.9221, allocations: 0.5325 MB / 0.7662 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.9221, allocations: 0 / 0.7662 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09114/1.013, allocations: 51.36 MB / 0.8163 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.12, allocations: 9.609 kB / 0.8163 GB, free: 108.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)