Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001362/0.001362, allocations: 102.1 kB / 15.98 MB, free: 6.355 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.001425/0.001425, allocations: 198.7 kB / 16.91 MB, free: 6.199 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3341, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01886/0.353, allocations: 20.09 MB / 0.5757 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3637, allocations: 6.381 MB / 0.5819 GB, free: 18.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.3661, allocations: 78.59 kB / 0.582 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005456/0.3716, allocations: 2.093 MB / 0.584 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.3762, allocations: 1.094 MB / 0.5851 GB, free: 16.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.3806, allocations: 1.171 MB / 0.5862 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007491/0.3881, allocations: 4.863 MB / 0.591 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.4005, allocations: 6.775 MB / 0.5976 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/0.4051, allocations: 2.118 MB / 0.5996 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.4088, allocations: 2.457 MB / 0.602 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.4099, allocations: 428 kB / 0.6025 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.4126, allocations: 0.9987 MB / 0.6034 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.4146, allocations: 1.668 MB / 0.6051 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.4173, allocations: 1.914 MB / 0.6069 GB, free: 424 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006067/0.4233, allocations: 6.532 MB / 0.6133 GB, free: 9.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4234, allocations: 4 kB / 0.6133 GB, free: 9.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4234, allocations: 0 / 0.6133 GB, free: 9.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.4235, allocations: 4 kB / 0.6133 GB, free: 9.852 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006494/0.43, allocations: 3.44 MB / 0.6167 GB, free: 6.348 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4301, allocations: 12.03 kB / 0.6167 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006258/0.4307, allocations: 458.5 kB / 0.6171 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.434, allocations: 0.6449 MB / 0.6178 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.4372, allocations: 1.928 MB / 0.6196 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.4374, allocations: 226.3 kB / 0.6199 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.4379, allocations: 296 kB / 0.6201 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007921/0.4458, allocations: 4.882 MB / 0.6249 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.172e-05/0.4459, allocations: 15.94 kB / 0.6249 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.4462, allocations: 124 kB / 0.625 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004312/0.4467, allocations: 237.7 kB / 0.6253 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005995/0.4527, allocations: 3.746 MB / 0.6289 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.4742, allocations: 21.58 MB / 0.65 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4759, allocations: 1.306 MB / 0.6513 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.4773, allocations: 1.053 MB / 0.6523 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/0.4774, allocations: 12.94 kB / 0.6523 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.4774, allocations: 51.56 kB / 0.6524 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=107): time 3.135e-06/0.4774, allocations: 0 / 0.6524 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138): time 0.02378/0.5012, allocations: 8.649 MB / 0.6608 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5013, allocations: 64.72 kB / 0.6609 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.503, allocations: 1.13 MB / 0.662 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.5031, allocations: 45.7 kB / 0.662 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/0.5041, allocations: 1.304 MB / 0.6633 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.5045, allocations: 481.1 kB / 0.6637 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005003/0.5051, allocations: 287.4 kB / 0.664 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5052, allocations: 317 kB / 0.6643 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.5065, allocations: 0.9135 MB / 0.6652 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5083, allocations: 1.326 MB / 0.6665 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.5118, allocations: 2.426 MB / 0.6689 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.5118, allocations: 4 kB / 0.6689 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006372/0.5182, allocations: 3.464 MB / 0.6723 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.5182, allocations: 8 kB / 0.6723 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.5183, allocations: 16.16 kB / 0.6723 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/0.5216, allocations: 1.198 MB / 0.6735 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.5225, allocations: 251.6 kB / 0.6737 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.5401, allocations: 13.84 MB / 0.6872 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.5415, allocations: 91.97 kB / 0.6873 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.5417, allocations: 67.98 kB / 0.6874 GB, free: 10.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001856/0.5436, allocations: 1.111 MB / 0.6885 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.544, allocations: 166.1 kB / 0.6886 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.5497, allocations: 3.165 MB / 0.6917 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.5498, allocations: 12 kB / 0.6917 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/0.5498, allocations: 15.94 kB / 0.6917 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.5498, allocations: 7.969 kB / 0.6917 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5603, allocations: 6.249 MB / 0.6978 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.5603, allocations: 4.375 kB / 0.6978 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.5609, allocations: 143.8 kB / 0.698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/0.5638, allocations: 1.088 MB / 0.699 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.5639, allocations: 32 kB / 0.6991 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.5804, allocations: 13.54 MB / 0.7123 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5804, allocations: 4 kB / 0.7123 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/0.5855, allocations: 3.154 MB / 0.7154 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007545/0.5863, allocations: 434.9 kB / 0.7158 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.5866, allocations: 31.94 kB / 0.7158 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.5874, allocations: 84.27 kB / 0.7159 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.5877, allocations: 120.7 kB / 0.716 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.5878, allocations: 36 kB / 0.7161 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009531/0.5888, allocations: 0.7748 MB / 0.7168 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5888, allocations: 0 / 0.7168 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001752/0.5905, allocations: 0.6602 MB / 0.7175 GB, free: 11.23 MB / 0.5606 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004996/0.5955, allocations: 3.744 MB / 0.7211 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005226/0.6008, allocations: 3.638 MB / 0.7247 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6008, allocations: 3.906 kB / 0.7247 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002695/0.6035, allocations: 1.951 MB / 0.7266 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.6055, allocations: 0.4923 MB / 0.7271 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2753/0.8808, allocations: 21.34 MB / 0.7479 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/0.8836, allocations: 2.339 MB / 0.7502 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001225/0.8849, allocations: 348.9 kB / 0.7505 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.8859, allocations: 1.01 MB / 0.7515 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.543e-06/0.8859, allocations: 0 / 0.7515 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.9906, allocations: 51.51 MB / 0.8018 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.9908, allocations: 241.8 kB / 0.802 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.899, allocations: 2.031 kB / 0.802 GB, free: 127.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)