Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 152 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.001491/0.001491, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 278.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 104.8 kB / 0.5954 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03862/0.2052, allocations: 33.31 MB / 0.7128 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.2299, allocations: 14.83 MB / 0.7273 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004258/0.2342, allocations: 155.2 kB / 0.7275 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00963/0.2439, allocations: 3.665 MB / 0.731 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009203/0.2531, allocations: 2.874 MB / 0.7338 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006552/0.2597, allocations: 2.327 MB / 0.7361 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01233/0.272, allocations: 8.815 MB / 0.7447 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01616/0.2882, allocations: 9.631 MB / 0.7541 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008545/0.2968, allocations: 3.942 MB / 0.758 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007441/0.3043, allocations: 4.038 MB / 0.7619 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003569/0.3079, allocations: 0.7188 MB / 0.7626 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.3135, allocations: 1.72 MB / 0.7643 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00463/0.3182, allocations: 2.822 MB / 0.7671 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00712/0.3253, allocations: 3.396 MB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.5791/0.9045, allocations: 11.11 MB / 0.7812 GB, free: 36.85 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.9045, allocations: 0 / 0.7812 GB, free: 36.85 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9046, allocations: 0.875 kB / 0.7812 GB, free: 36.85 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004522/0.905, allocations: 1.266 kB / 0.7812 GB, free: 36.85 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0206/0.9256, allocations: 5.992 MB / 0.7871 GB, free: 34.7 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9257, allocations: 12.12 kB / 0.7871 GB, free: 34.7 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003057/0.9287, allocations: 0.7288 MB / 0.7878 GB, free: 34.62 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008959/0.9377, allocations: 1.133 MB / 0.7889 GB, free: 34.33 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009738/0.9475, allocations: 3.322 MB / 0.7921 GB, free: 33.58 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/0.9481, allocations: 375.7 kB / 0.7925 GB, free: 33.57 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004664/0.9528, allocations: 493.7 kB / 0.793 GB, free: 33.57 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.9812, allocations: 8.003 MB / 0.8008 GB, free: 32.72 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004371/0.9817, allocations: 27.91 kB / 0.8008 GB, free: 32.71 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003631/0.9854, allocations: 218.4 kB / 0.801 GB, free: 32.71 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001462/0.9868, allocations: 437 kB / 0.8014 GB, free: 32.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.004, allocations: 6.087 MB / 0.8074 GB, free: 32.65 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05127/1.055, allocations: 35.16 MB / 0.8417 GB, free: 2.547 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/1.058, allocations: 2.025 MB / 0.8437 GB, free: 1.48 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/1.06, allocations: 1.863 MB / 0.8455 GB, free: 0.5156 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/1.06, allocations: 21.53 kB / 0.8455 GB, free: 0.5156 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.06, allocations: 52.38 kB / 0.8456 GB, free: 472 kB / 0.5607 GB Notification: Performance of pre-optimization done (n=171): time 3.166e-06/1.06, allocations: 3.469 kB / 0.8456 GB, free: 472 kB / 0.5607 GB Notification: Performance of matching and sorting (n=276): time 0.1674/1.228, allocations: 38.87 MB / 0.8835 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/1.228, allocations: 81.58 kB / 0.8836 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/1.232, allocations: 2.286 MB / 0.8859 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006019/1.233, allocations: 73.7 kB / 0.8859 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.235, allocations: 2.274 MB / 0.8881 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.236, allocations: 0.9365 MB / 0.8891 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001904/1.238, allocations: 0.5061 MB / 0.8896 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.238, allocations: 301.1 kB / 0.8898 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.242, allocations: 1.977 MB / 0.8918 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/1.245, allocations: 2.601 MB / 0.8943 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007512/1.253, allocations: 4.934 MB / 0.8991 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/1.253, allocations: 4 kB / 0.8991 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01669/1.27, allocations: 7.754 MB / 0.9067 GB, free: 9.457 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/1.27, allocations: 12 kB / 0.9067 GB, free: 9.445 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.27, allocations: 20 kB / 0.9067 GB, free: 9.426 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/1.28, allocations: 3.246 MB / 0.9099 GB, free: 6.172 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/1.282, allocations: 396.2 kB / 0.9103 GB, free: 5.809 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04858/1.331, allocations: 33.91 MB / 0.9434 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.335, allocations: 155.8 kB / 0.9436 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007981/1.336, allocations: 112 kB / 0.9437 GB, free: 2.887 MB / 0.6544 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005282/1.341, allocations: 1.791 MB / 0.9454 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.343, allocations: 332.2 kB / 0.9457 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.36, allocations: 7.364 MB / 0.9529 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/1.36, allocations: 24 kB / 0.9529 GB, free: 9.426 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/1.36, allocations: 32 kB / 0.953 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.089e-05/1.36, allocations: 11.95 kB / 0.953 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/1.392, allocations: 12.92 MB / 0.9656 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/1.392, allocations: 4 kB / 0.9656 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.393, allocations: 237.7 kB / 0.9658 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009909/1.403, allocations: 2.879 MB / 0.9686 GB, free: 9.363 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006584/1.404, allocations: 48 kB / 0.9687 GB, free: 9.316 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04777/1.451, allocations: 32.7 MB / 1.001 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/1.452, allocations: 11.47 kB / 1.001 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.467, allocations: 6.894 MB / 1.007 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/1.47, allocations: 0.7744 MB / 1.008 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/1.472, allocations: 52.8 kB / 1.008 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.475, allocations: 171.8 kB / 1.008 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/1.477, allocations: 253.1 kB / 1.009 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004741/1.477, allocations: 79.98 kB / 1.009 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003781/1.481, allocations: 1.521 MB / 1.01 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.076e-06/1.481, allocations: 4 kB / 1.01 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007007/1.488, allocations: 1.369 MB / 1.011 GB, free: 12.61 MB / 0.7325 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01579/1.504, allocations: 7.519 MB / 1.019 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01712/1.521, allocations: 8.372 MB / 1.027 GB, free: 12.61 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.521, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.009345/1.53, allocations: 4.418 MB / 1.031 GB, free: 8.148 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00797/1.538, allocations: 1.11 MB / 1.032 GB, free: 7.102 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4774/2.016, allocations: 43.86 MB / 1.075 GB, free: 265.7 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/2.021, allocations: 3.641 MB / 1.079 GB, free: 264.4 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002571/2.023, allocations: 0.5543 MB / 1.079 GB, free: 264.4 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/2.026, allocations: 1.973 MB / 1.081 GB, free: 262.7 MB / 0.7638 GB Notification: Performance of SimCode: time 1.263e-06/2.026, allocations: 0 / 1.081 GB, free: 262.7 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/2.186, allocations: 112.7 MB / 1.191 GB, free: 172.8 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/13.71, allocations: 8.938 kB / 1.191 GB, free: 172.7 MB / 0.7638 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)