Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002104/0.002104, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 286.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5069 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 94.25 kB / 0.6059 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1751, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04174/0.2169, allocations: 34.8 MB / 0.727 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.2353, allocations: 9.851 MB / 0.7366 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/0.2386, allocations: 127.3 kB / 0.7367 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009443/0.2481, allocations: 3.574 MB / 0.7402 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.254, allocations: 1.878 MB / 0.742 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.259, allocations: 1.789 MB / 0.7438 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.2696, allocations: 7.99 MB / 0.7516 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3114/0.5811, allocations: 11.69 MB / 0.763 GB, free: 20.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007136/0.5883, allocations: 3.425 MB / 0.7663 GB, free: 20.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008404/0.5967, allocations: 3.912 MB / 0.7702 GB, free: 19.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002259/0.599, allocations: 0.6805 MB / 0.7708 GB, free: 19.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.6037, allocations: 1.438 MB / 0.7722 GB, free: 19.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003896/0.6076, allocations: 2.621 MB / 0.7748 GB, free: 19.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004942/0.6126, allocations: 3.098 MB / 0.7778 GB, free: 18.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.6273, allocations: 10.38 MB / 0.788 GB, free: 17.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6274, allocations: 0 / 0.788 GB, free: 17.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6274, allocations: 1.156 kB / 0.788 GB, free: 17.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002686/0.6277, allocations: 0 / 0.788 GB, free: 17.8 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01768/0.6454, allocations: 5.408 MB / 0.7932 GB, free: 15.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6454, allocations: 9.188 kB / 0.7933 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007255/0.6527, allocations: 0.96 MB / 0.7942 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006865/0.6596, allocations: 3 MB / 0.7971 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.6599, allocations: 361.5 kB / 0.7975 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.661, allocations: 469.2 kB / 0.7979 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.6778, allocations: 7.902 MB / 0.8056 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.678, allocations: 22.78 kB / 0.8057 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006381/0.6786, allocations: 207.8 kB / 0.8058 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004391/0.6791, allocations: 366.7 kB / 0.8062 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00823/0.6873, allocations: 5.939 MB / 0.812 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.7254, allocations: 36.22 MB / 0.8474 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.7291, allocations: 2.129 MB / 0.8495 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.7314, allocations: 1.49 MB / 0.8509 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/0.7315, allocations: 13.31 kB / 0.8509 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.7316, allocations: 51.88 kB / 0.851 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 4.057e-06/0.7316, allocations: 3.938 kB / 0.851 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01518/0.7468, allocations: 7.547 MB / 0.8583 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.7468, allocations: 68.72 kB / 0.8584 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.7496, allocations: 1.864 MB / 0.8602 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.7497, allocations: 53.7 kB / 0.8603 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.7514, allocations: 2.118 MB / 0.8623 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005457/0.7519, allocations: 0.5569 MB / 0.8629 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000683/0.7526, allocations: 407.7 kB / 0.8633 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7528, allocations: 301.1 kB / 0.8636 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.7546, allocations: 1.064 MB / 0.8646 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.7569, allocations: 1.761 MB / 0.8663 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.7612, allocations: 3.045 MB / 0.8693 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.7612, allocations: 8 kB / 0.8693 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006964/0.7682, allocations: 3.927 MB / 0.8731 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.7682, allocations: 16 kB / 0.8732 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/0.7683, allocations: 20 kB / 0.8732 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.771, allocations: 0.9399 MB / 0.8741 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7725, allocations: 429.3 kB / 0.8745 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/0.7976, allocations: 22.77 MB / 0.8967 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.7996, allocations: 123.9 kB / 0.8969 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.7999, allocations: 100 kB / 0.897 GB, free: 488 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003644/0.8035, allocations: 1.647 MB / 0.8986 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/0.8041, allocations: 253.1 kB / 0.8988 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/0.8102, allocations: 3.264 MB / 0.902 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.8102, allocations: 19.98 kB / 0.902 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/0.8102, allocations: 12 kB / 0.902 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.8102, allocations: 7.969 kB / 0.902 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.8248, allocations: 7.55 MB / 0.9094 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8248, allocations: 4 kB / 0.9094 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/0.8257, allocations: 218.6 kB / 0.9096 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.8281, allocations: 0.8971 MB / 0.9105 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.8283, allocations: 28 kB / 0.9105 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/0.8512, allocations: 22.75 MB / 0.9327 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.8512, allocations: 4.188 kB / 0.9327 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005884/0.8571, allocations: 3.386 MB / 0.936 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.8584, allocations: 0.5292 MB / 0.9366 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000543/0.8589, allocations: 32 kB / 0.9366 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.8602, allocations: 99.81 kB / 0.9367 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.8606, allocations: 139 kB / 0.9368 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.8607, allocations: 44 kB / 0.9369 GB, free: 5.883 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001989/0.8627, allocations: 1.225 MB / 0.9381 GB, free: 4.645 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8627, allocations: 4 kB / 0.9381 GB, free: 4.641 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003145/0.8658, allocations: 0.9023 MB / 0.9389 GB, free: 3.738 MB / 0.67 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003226/0.8662, allocations: 156.4 kB / 0.9391 GB, free: 3.586 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008718/0.8749, allocations: 5.205 MB / 0.9442 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.8749, allocations: 8.125 kB / 0.9442 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/0.8793, allocations: 2.989 MB / 0.9471 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.8826, allocations: 0.8159 MB / 0.9479 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.8973, allocations: 9.708 MB / 0.9574 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0037/0.9011, allocations: 3.209 MB / 0.9605 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001871/0.9029, allocations: 0.5293 MB / 0.961 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.9033, allocations: 143.4 kB / 0.9612 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.9034, allocations: 0 / 0.9612 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of Templates: time 0.07761/0.981, allocations: 43.17 MB / 1.003 GB, free: 2.328 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)