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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005878/0.005878, allocations: 102 kB / 15.73 MB, free: 5.988 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.001271/0.001271, allocations: 196 kB / 16.67 MB, free: 5.926 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 290.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9223/0.9223, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1567, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.3467/0.5035, allocations: 23.4 MB / 0.7893 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009638/0.5131, allocations: 6.47 MB / 0.7956 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.5146, allocations: 101.3 kB / 0.7957 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.5182, allocations: 1.496 MB / 0.7971 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.5219, allocations: 1.937 MB / 0.799 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.5251, allocations: 1.465 MB / 0.8005 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007402/0.5325, allocations: 6.919 MB / 0.8072 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008138/0.5407, allocations: 6.941 MB / 0.814 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.5454, allocations: 2.881 MB / 0.8168 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005342/0.5507, allocations: 3.473 MB / 0.8202 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009034/0.5517, allocations: 0.527 MB / 0.8207 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.5543, allocations: 1.184 MB / 0.8219 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002679/0.557, allocations: 2.463 MB / 0.8243 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002831/0.5599, allocations: 2.534 MB / 0.8267 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008412/0.5683, allocations: 8.516 MB / 0.8351 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5683, allocations: 1.312 kB / 0.8351 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5683, allocations: 0 / 0.8351 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001406/0.5685, allocations: 0 / 0.8351 GB, free: 10.64 MB / 0.5919 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.008087/0.5766, allocations: 4.44 MB / 0.8394 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5766, allocations: 9 kB / 0.8394 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007853/0.5845, allocations: 1.68 MB / 0.841 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.5888, allocations: 2.693 MB / 0.8437 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.589, allocations: 279.7 kB / 0.8439 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/0.5896, allocations: 360.3 kB / 0.8443 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.6, allocations: 7.483 MB / 0.8516 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-05/0.6001, allocations: 15.88 kB / 0.8516 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004283/0.6005, allocations: 159.9 kB / 0.8518 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005442/0.6011, allocations: 487.3 kB / 0.8522 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008197/0.6093, allocations: 5.701 MB / 0.8578 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.6395, allocations: 31.49 MB / 0.8885 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.6421, allocations: 2.086 MB / 0.8906 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.6449, allocations: 2.186 MB / 0.8927 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.645, allocations: 25.3 kB / 0.8927 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.6451, allocations: 47.81 kB / 0.8928 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/0.6451, allocations: 0 / 0.8928 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.2552/0.9003, allocations: 77.02 MB / 0.968 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.9004, allocations: 81.34 kB / 0.9681 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.9026, allocations: 1.67 MB / 0.9697 GB, free: 280 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.9028, allocations: 69.7 kB / 0.9698 GB, free: 204 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.9039, allocations: 1.739 MB / 0.9715 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007681/0.9046, allocations: 0.8549 MB / 0.9723 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.9057, allocations: 485.1 kB / 0.9728 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.9057, allocations: 305.1 kB / 0.9731 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/0.9094, allocations: 2.734 MB / 0.9757 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003992/0.9134, allocations: 3.336 MB / 0.979 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007992/0.9214, allocations: 6.393 MB / 0.9852 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.9214, allocations: 4 kB / 0.9852 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03007/0.9515, allocations: 14.68 MB / 0.9996 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.9516, allocations: 15.98 kB / 0.9996 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.9516, allocations: 20 kB / 0.9996 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02825/0.9799, allocations: 9.234 MB / 1.009 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.9811, allocations: 303.4 kB / 1.009 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07628/1.057, allocations: 52.33 MB / 1.06 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/1.06, allocations: 219.7 kB / 1.06 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/1.06, allocations: 104 kB / 1.06 GB, free: 1.977 MB / 0.8106 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.002552/1.063, allocations: 1.583 MB / 1.062 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/1.063, allocations: 245 kB / 1.062 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03017/1.093, allocations: 14.76 MB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.094, allocations: 24 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-05/1.094, allocations: 44 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/1.094, allocations: 15.95 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3356/1.429, allocations: 20.52 MB / 1.097 GB, free: 266.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/1.429, allocations: 5.906 kB / 1.097 GB, free: 266.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/1.43, allocations: 163.6 kB / 1.097 GB, free: 266.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.028/1.458, allocations: 9.007 MB / 1.106 GB, free: 266.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004448/1.459, allocations: 47.8 kB / 1.106 GB, free: 266.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06885/1.527, allocations: 51.9 MB / 1.156 GB, free: 244.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.527, allocations: 10.52 kB / 1.156 GB, free: 244.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02554/1.553, allocations: 14.37 MB / 1.17 GB, free: 238.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.555, allocations: 0.843 MB / 1.171 GB, free: 238.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/1.555, allocations: 47.16 kB / 1.171 GB, free: 238.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.557, allocations: 210.7 kB / 1.171 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.558, allocations: 241.4 kB / 1.172 GB, free: 237.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.559, allocations: 64 kB / 1.172 GB, free: 237.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001181/1.56, allocations: 1.129 MB / 1.173 GB, free: 236.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/1.56, allocations: 0 / 1.173 GB, free: 236.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003927/1.564, allocations: 1.613 MB / 1.174 GB, free: 235.1 MB / 0.8419 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.0003297/1.564, allocations: 166.9 kB / 1.175 GB, free: 234.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01746/1.582, allocations: 10.55 MB / 1.185 GB, free: 224.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.582, allocations: 0 / 1.185 GB, free: 224.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01361/1.595, allocations: 7.318 MB / 1.192 GB, free: 217 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.598, allocations: 0.5559 MB / 1.193 GB, free: 216.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.61, allocations: 8.704 MB / 1.201 GB, free: 207.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/1.612, allocations: 3.22 MB / 1.204 GB, free: 204.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008915/1.613, allocations: 388.2 kB / 1.205 GB, free: 204.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/1.613, allocations: 103.4 kB / 1.205 GB, free: 204 MB / 0.8419 GB Notification: Performance of SimCode: time 8.32e-07/1.613, allocations: 0 / 1.205 GB, free: 204 MB / 0.8419 GB Notification: Performance of Templates: time 0.1019/1.715, allocations: 92.71 MB / 1.295 GB, free: 111.6 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)