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.004539/0.004539, allocations: 101.5 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.001195/0.001195, allocations: 196.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.205/1.205, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.625/0.625, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 72.67 kB / 493 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 76.18 MB / 0.5559 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009788/0.119, allocations: 9.971 MB / 0.5656 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.1231, allocations: 3.041 MB / 0.5686 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.1236, allocations: 27.88 kB / 0.5686 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.125, allocations: 0.6264 MB / 0.5692 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.126, allocations: 0.6498 MB / 0.5698 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009901/0.127, allocations: 0.5882 MB / 0.5704 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.1296, allocations: 4.064 MB / 0.5744 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.1326, allocations: 2.826 MB / 0.5771 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.1334, allocations: 0.9693 MB / 0.5781 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1346, allocations: 1.426 MB / 0.5795 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.1348, allocations: 148 kB / 0.5796 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.1355, allocations: 499.2 kB / 0.5801 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006644/0.1362, allocations: 0.9082 MB / 0.581 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1859/0.3221, allocations: 0.9409 MB / 0.5819 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.326, allocations: 3.345 MB / 0.5852 GB, free: 18.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.326, allocations: 2.688 kB / 0.5852 GB, free: 18.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3261, allocations: 0 / 0.5852 GB, free: 18.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.426e-05/0.3261, allocations: 0 / 0.5852 GB, free: 18.52 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.004703/0.3309, allocations: 1.942 MB / 0.5871 GB, free: 17.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3309, allocations: 10.86 kB / 0.5871 GB, free: 17.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/0.3313, allocations: 254.5 kB / 0.5873 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005189/0.3365, allocations: 0.8863 MB / 0.5882 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.3381, allocations: 1.123 MB / 0.5893 GB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.3382, allocations: 110 kB / 0.5894 GB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.3384, allocations: 146 kB / 0.5895 GB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.3426, allocations: 3.014 MB / 0.5925 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.3426, allocations: 5.344 kB / 0.5925 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.3428, allocations: 64.58 kB / 0.5925 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.343, allocations: 177 kB / 0.5927 GB, free: 16.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.3466, allocations: 2.606 MB / 0.5953 GB, free: 16.83 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.0109/0.3575, allocations: 13.57 MB / 0.6085 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.3591, allocations: 1.292 MB / 0.6098 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.3602, allocations: 1.045 MB / 0.6108 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.3603, allocations: 16.38 kB / 0.6108 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3603, allocations: 38.75 kB / 0.6108 GB, free: 6.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.3603, allocations: 1.344 kB / 0.6108 GB, free: 6.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.05869/0.419, allocations: 19.38 MB / 0.6298 GB, free: 11.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.419, allocations: 64.72 kB / 0.6298 GB, free: 11.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/0.42, allocations: 0.9184 MB / 0.6307 GB, free: 10.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.4201, allocations: 49.7 kB / 0.6308 GB, free: 10.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.4205, allocations: 0.7274 MB / 0.6315 GB, free: 9.293 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.4208, allocations: 490.8 kB / 0.632 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.4214, allocations: 291.4 kB / 0.6322 GB, free: 8.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4215, allocations: 353.9 kB / 0.6326 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.4231, allocations: 1.335 MB / 0.6339 GB, free: 6.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.4249, allocations: 1.656 MB / 0.6355 GB, free: 5.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.4284, allocations: 3.097 MB / 0.6385 GB, free: 1.895 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4284, allocations: 4 kB / 0.6385 GB, free: 1.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.009986/0.4384, allocations: 5.64 MB / 0.644 GB, free: 12.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4384, allocations: 8 kB / 0.644 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4385, allocations: 11.94 kB / 0.644 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007863/0.4463, allocations: 2.729 MB / 0.6467 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.4469, allocations: 187.9 kB / 0.6469 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02806/0.475, allocations: 23.33 MB / 0.6697 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/0.476, allocations: 91.95 kB / 0.6698 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.4761, allocations: 56 kB / 0.6698 GB, free: 1.473 MB / 494.1 MB 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.001004/0.4771, allocations: 0.7325 MB / 0.6705 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.4773, allocations: 122.6 kB / 0.6706 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009643/0.487, allocations: 5.394 MB / 0.6759 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.487, allocations: 12 kB / 0.6759 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.487, allocations: 24 kB / 0.6759 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.487, allocations: 7.969 kB / 0.676 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.5005, allocations: 8.647 MB / 0.6844 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5005, allocations: 4 kB / 0.6844 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.5009, allocations: 119.5 kB / 0.6845 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007551/0.5084, allocations: 2.547 MB / 0.687 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.5085, allocations: 28.44 kB / 0.687 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/0.534, allocations: 20.89 MB / 0.7074 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.534, allocations: 4.375 kB / 0.7074 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009061/0.5431, allocations: 5.134 MB / 0.7124 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/0.5438, allocations: 483.5 kB / 0.7129 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.544, allocations: 32 kB / 0.7129 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.5447, allocations: 71.91 kB / 0.713 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.545, allocations: 129 kB / 0.7131 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.5451, allocations: 36 kB / 0.7132 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006707/0.5458, allocations: 0.6434 MB / 0.7138 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5458, allocations: 0 / 0.7138 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001846/0.5477, allocations: 0.7227 MB / 0.7145 GB, free: 3.191 MB / 0.5294 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.009337/0.557, allocations: 5.709 MB / 0.7201 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005661/0.5627, allocations: 4.15 MB / 0.7241 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5627, allocations: 4 kB / 0.7241 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004097/0.5668, allocations: 2.662 MB / 0.7267 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5678, allocations: 208.7 kB / 0.7269 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/0.5992, allocations: 22.55 MB / 0.749 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.6005, allocations: 1.704 MB / 0.7506 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006195/0.6011, allocations: 329.4 kB / 0.7509 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.6017, allocations: 0.5266 MB / 0.7514 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.6017, allocations: 0 / 0.7514 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.729/3.331, allocations: 50.43 MB / 0.8007 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/3.331, allocations: 247.9 kB / 0.8009 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/5.504, allocations: 0 / 0.8009 GB, free: 10.27 MB / 0.6231 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)