Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.005771/0.005771, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001484/0.001484, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002578, allocations: 286.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9537/0.9537, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 108.2 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1442, allocations: 86.96 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3065/0.4507, allocations: 30.74 MB / 0.7959 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01992/0.4706, allocations: 13.59 MB / 0.8092 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.4735, allocations: 144.1 kB / 0.8094 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007983/0.4815, allocations: 3.192 MB / 0.8125 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.489, allocations: 2.666 MB / 0.8151 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.4947, allocations: 2.015 MB / 0.817 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009733/0.5044, allocations: 7.628 MB / 0.8245 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009058/0.5135, allocations: 8.229 MB / 0.8325 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.5188, allocations: 3.414 MB / 0.8359 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005004/0.5239, allocations: 3.383 MB / 0.8392 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000848/0.5247, allocations: 0.5956 MB / 0.8397 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.5278, allocations: 1.497 MB / 0.8412 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.5301, allocations: 2.363 MB / 0.8435 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003482/0.5336, allocations: 2.885 MB / 0.8463 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.5446, allocations: 9.485 MB / 0.8556 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.5446, allocations: 4 kB / 0.8556 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.787e-06/0.5447, allocations: 3.938 kB / 0.8556 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001977/0.5449, allocations: 7.938 kB / 0.8556 GB, free: 8.246 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01026/0.5551, allocations: 5.259 MB / 0.8607 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5552, allocations: 12.02 kB / 0.8608 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008937/0.5561, allocations: 0.6164 MB / 0.8614 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.5615, allocations: 1.024 MB / 0.8624 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005483/0.567, allocations: 3.093 MB / 0.8654 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.5673, allocations: 316.8 kB / 0.8657 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006833/0.568, allocations: 415.9 kB / 0.8661 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.5783, allocations: 6.807 MB / 0.8727 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.011e-05/0.5784, allocations: 23.83 kB / 0.8727 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.5788, allocations: 180 kB / 0.8729 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008209/0.5796, allocations: 372 kB / 0.8733 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007704/0.5874, allocations: 5.114 MB / 0.8783 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03054/0.6179, allocations: 30.55 MB / 0.9081 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.6198, allocations: 1.391 MB / 0.9095 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.6215, allocations: 1.335 MB / 0.9108 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.6216, allocations: 13.31 kB / 0.9108 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.6217, allocations: 51.81 kB / 0.9108 GB, free: 12.42 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 2.735e-06/0.6217, allocations: 3.938 kB / 0.9108 GB, free: 12.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08168/0.7033, allocations: 23.15 MB / 0.9334 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.7034, allocations: 69.41 kB / 0.9335 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.7063, allocations: 2.062 MB / 0.9355 GB, free: 3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.7065, allocations: 57.7 kB / 0.9356 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.708, allocations: 2.074 MB / 0.9376 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006637/0.7087, allocations: 0.7126 MB / 0.9383 GB, free: 128 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007483/0.7094, allocations: 408.4 kB / 0.9387 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7096, allocations: 305.1 kB / 0.939 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.7117, allocations: 1.43 MB / 0.9404 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.7143, allocations: 2.013 MB / 0.9423 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/0.7193, allocations: 3.7 MB / 0.946 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.7194, allocations: 4 kB / 0.946 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01113/0.7305, allocations: 5.67 MB / 0.9515 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.7306, allocations: 16 kB / 0.9515 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.7306, allocations: 19.94 kB / 0.9515 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/0.7373, allocations: 2.08 MB / 0.9536 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.7388, allocations: 379.4 kB / 0.9539 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04099/0.7798, allocations: 38.46 MB / 0.9915 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.782, allocations: 127.9 kB / 0.9916 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.7822, allocations: 91.98 kB / 0.9917 GB, free: 6.301 MB / 0.7481 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002299/0.7845, allocations: 1.508 MB / 0.9932 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.7849, allocations: 294.2 kB / 0.9934 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.795, allocations: 5.219 MB / 0.9985 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.795, allocations: 23.98 kB / 0.9986 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/0.795, allocations: 16 kB / 0.9986 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.7951, allocations: 7.969 kB / 0.9986 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.8116, allocations: 9.681 MB / 1.008 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.8116, allocations: 8 kB / 1.008 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.8124, allocations: 223.7 kB / 1.008 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/0.8181, allocations: 1.841 MB / 1.01 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.8183, allocations: 40 kB / 1.01 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03801/0.8563, allocations: 37.46 MB / 1.047 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.8563, allocations: 11.94 kB / 1.047 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009236/0.8656, allocations: 4.926 MB / 1.051 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.8669, allocations: 0.6279 MB / 1.052 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.8673, allocations: 43.94 kB / 1.052 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.8686, allocations: 127.8 kB / 1.052 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005793/0.8691, allocations: 193.5 kB / 1.052 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.8693, allocations: 59.94 kB / 1.053 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001874/0.8712, allocations: 1.378 MB / 1.054 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8712, allocations: 4 kB / 1.054 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003289/0.8745, allocations: 1.051 MB / 1.055 GB, free: 2.508 MB / 0.8106 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009166/0.8836, allocations: 5.541 MB / 1.06 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009644/0.8933, allocations: 6.303 MB / 1.066 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.8933, allocations: 0 / 1.066 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0065/0.8998, allocations: 4.422 MB / 1.071 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/0.9036, allocations: 0.9882 MB / 1.072 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3096/1.213, allocations: 30.8 MB / 1.102 GB, free: 258.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/1.216, allocations: 3.123 MB / 1.105 GB, free: 257.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001718/1.218, allocations: 0.5186 MB / 1.105 GB, free: 257.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.22, allocations: 1.673 MB / 1.107 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of SimCode: time 6.82e-07/1.22, allocations: 3.844 kB / 1.107 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.262/5.481, allocations: 88.15 MB / 1.193 GB, free: 203.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.1/25.58, allocations: 7.859 kB / 1.193 GB, free: 203.3 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)