Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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/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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001447/0.001447, allocations: 104 kB / 15.6 MB, free: 148 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.001404/0.001404, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 286.4 kB / 290.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 94.89 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1535, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02565/0.1792, allocations: 23.4 MB / 0.7031 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1901, allocations: 6.496 MB / 0.7095 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.1918, allocations: 95.56 kB / 0.7096 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.1952, allocations: 1.483 MB / 0.711 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.1987, allocations: 1.828 MB / 0.7128 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.2016, allocations: 1.457 MB / 0.7142 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006162/0.2078, allocations: 6.916 MB / 0.721 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00758/0.2154, allocations: 7.003 MB / 0.7278 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.2186, allocations: 2.832 MB / 0.7306 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.223, allocations: 3.478 MB / 0.734 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.2241, allocations: 0.5273 MB / 0.7345 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.2266, allocations: 1.174 MB / 0.7357 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.2286, allocations: 2.468 MB / 0.7381 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.231, allocations: 2.528 MB / 0.7405 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.2373, allocations: 8.468 MB / 0.7488 GB, free: 10.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2373, allocations: 0 / 0.7488 GB, free: 10.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2373, allocations: 0 / 0.7488 GB, free: 10.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.559e-05/0.2374, allocations: 0 / 0.7488 GB, free: 10.19 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006429/0.2439, allocations: 4.428 MB / 0.7531 GB, free: 5.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2439, allocations: 8.031 kB / 0.7531 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006568/0.2446, allocations: 0.5753 MB / 0.7537 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008199/0.2528, allocations: 1.673 MB / 0.7553 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/0.258, allocations: 2.575 MB / 0.7578 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.2582, allocations: 283.6 kB / 0.7581 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/0.259, allocations: 364.2 kB / 0.7585 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.2716, allocations: 7.487 MB / 0.7658 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.889e-05/0.2717, allocations: 7.938 kB / 0.7658 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004627/0.2722, allocations: 163.9 kB / 0.7659 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005707/0.2728, allocations: 483.3 kB / 0.7664 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00993/0.2827, allocations: 5.701 MB / 0.772 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2772/0.5599, allocations: 31.71 MB / 0.8029 GB, free: 62.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.5624, allocations: 2.091 MB / 0.805 GB, free: 61.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/0.5657, allocations: 2.184 MB / 0.8071 GB, free: 60.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.5658, allocations: 14.25 kB / 0.8071 GB, free: 60.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5659, allocations: 49.62 kB / 0.8072 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/0.5659, allocations: 0 / 0.8072 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=251): time 0.2775/0.8434, allocations: 77 MB / 0.8824 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.8435, allocations: 86.7 kB / 0.8824 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.8459, allocations: 1.662 MB / 0.8841 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004383/0.8464, allocations: 65.7 kB / 0.8841 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.8475, allocations: 1.743 MB / 0.8858 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009512/0.8484, allocations: 0.8593 MB / 0.8867 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.8496, allocations: 477.2 kB / 0.8871 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8497, allocations: 309.1 kB / 0.8874 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/0.8535, allocations: 2.738 MB / 0.8901 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/0.8576, allocations: 3.332 MB / 0.8934 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008467/0.8661, allocations: 6.393 MB / 0.8996 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.8661, allocations: 4 kB / 0.8996 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03324/0.8994, allocations: 14.68 MB / 0.9139 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.8994, allocations: 12 kB / 0.9139 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.8995, allocations: 20 kB / 0.914 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02971/0.9292, allocations: 9.297 MB / 0.923 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.9304, allocations: 295.5 kB / 0.9233 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08199/1.012, allocations: 52.39 MB / 0.9745 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.016, allocations: 223.7 kB / 0.9747 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004862/1.016, allocations: 96 kB / 0.9748 GB, free: 13.16 MB / 0.67 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002816/1.019, allocations: 1.583 MB / 0.9763 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007196/1.02, allocations: 245.1 kB / 0.9766 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03263/1.052, allocations: 14.75 MB / 0.991 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.052, allocations: 28 kB / 0.991 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002439/1.053, allocations: 44 kB / 0.991 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.989e-05/1.053, allocations: 11.95 kB / 0.9911 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04454/1.097, allocations: 20.52 MB / 1.011 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/1.097, allocations: 8 kB / 1.011 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/1.098, allocations: 167.7 kB / 1.011 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02971/1.128, allocations: 9.069 MB / 1.02 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004413/1.128, allocations: 48 kB / 1.02 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3669/1.495, allocations: 51.95 MB / 1.071 GB, free: 237.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.495, allocations: 11.59 kB / 1.071 GB, free: 237.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03141/1.527, allocations: 14.36 MB / 1.085 GB, free: 233.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.528, allocations: 0.8495 MB / 1.086 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/1.529, allocations: 55.62 kB / 1.086 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.531, allocations: 210.4 kB / 1.086 GB, free: 233.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001322/1.533, allocations: 236.2 kB / 1.086 GB, free: 233.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.533, allocations: 67.12 kB / 1.086 GB, free: 233.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001269/1.534, allocations: 1.127 MB / 1.087 GB, free: 232.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.534, allocations: 0 / 1.087 GB, free: 232.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004178/1.538, allocations: 1.615 MB / 1.089 GB, free: 232.5 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02791/1.566, allocations: 14.97 MB / 1.104 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02144/1.588, allocations: 11.34 MB / 1.115 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.588, allocations: 0 / 1.115 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01623/1.604, allocations: 7.315 MB / 1.122 GB, free: 206.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.607, allocations: 0.5507 MB / 1.122 GB, free: 205.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08395/1.691, allocations: 53.37 MB / 1.174 GB, free: 150.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/1.694, allocations: 3.226 MB / 1.178 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001038/1.695, allocations: 391.4 kB / 1.178 GB, free: 146.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.696, allocations: 1.46 MB / 1.179 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/1.696, allocations: 0 / 1.179 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/1.845, allocations: 119.5 MB / 1.296 GB, free: 26.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.95, allocations: 13.31 kB / 1.296 GB, free: 26.43 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)