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.000742/0.0007421, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007824/0.0007825, allocations: 177.2 kB / 16.58 MB, free: 6.793 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.239/1.239, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6822/0.6822, allocations: 113.7 MB / 405.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 12.69 kB / 493.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 77.12 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009558/0.1462, allocations: 8.989 MB / 0.5657 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.1508, allocations: 2.902 MB / 0.5685 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.1513, allocations: 31.81 kB / 0.5686 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1518, allocations: 174.7 kB / 0.5687 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.1528, allocations: 0.5835 MB / 0.5693 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009721/0.1538, allocations: 431.2 kB / 0.5697 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.157, allocations: 3.178 MB / 0.5728 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003774/0.1607, allocations: 2.683 MB / 0.5754 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1621, allocations: 0.8679 MB / 0.5763 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.1636, allocations: 1.258 MB / 0.5775 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.1638, allocations: 100 kB / 0.5776 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.1644, allocations: 247.8 kB / 0.5778 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000752/0.1652, allocations: 0.8419 MB / 0.5787 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.1655, allocations: 352.8 kB / 0.579 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.1678, allocations: 2.798 MB / 0.5817 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1678, allocations: 4 kB / 0.5817 GB, free: 2.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1678, allocations: 0 / 0.5817 GB, free: 2.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.557e-05/0.1678, allocations: 0 / 0.5817 GB, free: 2.094 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.002577/0.1704, allocations: 1.616 MB / 0.5833 GB, free: 432 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1705, allocations: 8.031 kB / 0.5833 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003011/0.1708, allocations: 256.5 kB / 0.5836 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.281/0.4518, allocations: 0.8748 MB / 0.5844 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.454, allocations: 1.091 MB / 0.5855 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.4541, allocations: 110.3 kB / 0.5856 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.4545, allocations: 142.9 kB / 0.5857 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005285/0.4597, allocations: 3.01 MB / 0.5887 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.4598, allocations: 10.12 kB / 0.5887 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.46, allocations: 64.91 kB / 0.5887 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002461/0.4602, allocations: 173.1 kB / 0.5889 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004198/0.4644, allocations: 2.604 MB / 0.5914 GB, free: 30.18 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.015/0.4794, allocations: 13.53 MB / 0.6046 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.4816, allocations: 1.29 MB / 0.6059 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4829, allocations: 1.047 MB / 0.6069 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.483, allocations: 9.859 kB / 0.6069 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.483, allocations: 38.97 kB / 0.607 GB, free: 19.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 3.907e-06/0.4831, allocations: 0 / 0.607 GB, free: 19.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.05664/0.5397, allocations: 19.45 MB / 0.626 GB, free: 6.348 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.5398, allocations: 64.72 kB / 0.626 GB, free: 6.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008964/0.5407, allocations: 0.9066 MB / 0.6269 GB, free: 5.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5408, allocations: 49.7 kB / 0.627 GB, free: 5.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.5411, allocations: 0.7308 MB / 0.6277 GB, free: 4.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.5414, allocations: 484.2 kB / 0.6281 GB, free: 4.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.5415, allocations: 35.09 kB / 0.6282 GB, free: 4.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.5416, allocations: 426.7 kB / 0.6286 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.543, allocations: 1.331 MB / 0.6299 GB, free: 2.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.5445, allocations: 1.651 MB / 0.6315 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.5465, allocations: 1.558 MB / 0.633 GB, free: 14.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5465, allocations: 7.938 kB / 0.633 GB, free: 14.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01083/0.5573, allocations: 5.621 MB / 0.6385 GB, free: 9.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.5574, allocations: 10.03 kB / 0.6385 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.5574, allocations: 12 kB / 0.6385 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007711/0.5651, allocations: 2.716 MB / 0.6412 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.5659, allocations: 187.7 kB / 0.6414 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/0.5987, allocations: 23.3 MB / 0.6641 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6002, allocations: 95.95 kB / 0.6642 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.6003, allocations: 59.98 kB / 0.6643 GB, free: 14.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001275/0.6016, allocations: 0.7361 MB / 0.665 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.6018, allocations: 114.7 kB / 0.6651 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.6125, allocations: 5.38 MB / 0.6704 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.6125, allocations: 12 kB / 0.6704 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.6126, allocations: 20 kB / 0.6704 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.6126, allocations: 7.969 kB / 0.6704 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.6279, allocations: 8.598 MB / 0.6788 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.628, allocations: 4 kB / 0.6788 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.6285, allocations: 111.8 kB / 0.6789 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007431/0.6359, allocations: 2.551 MB / 0.6814 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.6361, allocations: 28.38 kB / 0.6814 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/0.6648, allocations: 20.84 MB / 0.7018 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6648, allocations: 4 kB / 0.7018 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009648/0.6745, allocations: 5.107 MB / 0.7068 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000889/0.6754, allocations: 479.7 kB / 0.7072 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.6756, allocations: 36.11 kB / 0.7073 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.6764, allocations: 83.8 kB / 0.7073 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004993/0.6769, allocations: 119.1 kB / 0.7074 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.677, allocations: 36 kB / 0.7075 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008073/0.6778, allocations: 0.6356 MB / 0.7081 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6778, allocations: 0 / 0.7081 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002276/0.6801, allocations: 0.7266 MB / 0.7088 GB, free: 32 kB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00982/0.69, allocations: 5.689 MB / 0.7144 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006826/0.6968, allocations: 4.147 MB / 0.7184 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.6969, allocations: 4 kB / 0.7184 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/0.7016, allocations: 2.647 MB / 0.721 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.7029, allocations: 210.5 kB / 0.7212 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/0.726, allocations: 14.45 MB / 0.7353 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.7276, allocations: 1.7 MB / 0.737 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.7284, allocations: 329.4 kB / 0.7373 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/0.7291, allocations: 0.5305 MB / 0.7378 GB, free: 1.734 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.7291, allocations: 4 kB / 0.7378 GB, free: 1.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/0.8002, allocations: 48.88 MB / 0.7855 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.8005, allocations: 241.9 kB / 0.7858 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.104, allocations: 2.953 kB / 0.7858 GB, free: 1.004 MB / 0.5919 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/linux/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) Environment - environmentSimulation: