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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001541/0.001541, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002536/0.002536, allocations: 278.5 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.199/1.199, allocations: 178.5 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 103.8 kB / 0.6066 GB, free: 9.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1641, allocations: 89.13 MB / 0.6936 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3096/0.4737, allocations: 30.48 MB / 0.7234 GB, free: 38.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.49, allocations: 13.46 MB / 0.7365 GB, free: 29.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.4931, allocations: 124.7 kB / 0.7367 GB, free: 28.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006481/0.4996, allocations: 2.974 MB / 0.7396 GB, free: 27.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.5061, allocations: 2.46 MB / 0.742 GB, free: 25.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.5105, allocations: 1.841 MB / 0.7438 GB, free: 24.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007352/0.5179, allocations: 7.635 MB / 0.7512 GB, free: 21.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.5303, allocations: 9.946 MB / 0.7609 GB, free: 16.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005476/0.5358, allocations: 3.46 MB / 0.7643 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005654/0.5415, allocations: 3.54 MB / 0.7678 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.543, allocations: 0.5949 MB / 0.7684 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.5469, allocations: 1.493 MB / 0.7698 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003104/0.55, allocations: 2.365 MB / 0.7721 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005443/0.5555, allocations: 2.879 MB / 0.7749 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.5666, allocations: 8.005 MB / 0.7828 GB, free: 8.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5667, allocations: 5.875 kB / 0.7828 GB, free: 8.566 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5667, allocations: 0 / 0.7828 GB, free: 8.566 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002929/0.567, allocations: 4 kB / 0.7828 GB, free: 8.562 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01438/0.5814, allocations: 5.129 MB / 0.7878 GB, free: 5.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5814, allocations: 10.11 kB / 0.7878 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006587/0.588, allocations: 0.9959 MB / 0.7888 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006984/0.595, allocations: 2.9 MB / 0.7916 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.5954, allocations: 318.5 kB / 0.7919 GB, free: 3.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001747/0.5971, allocations: 418.5 kB / 0.7923 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.6124, allocations: 6.797 MB / 0.7989 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.6126, allocations: 15.12 kB / 0.7989 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006449/0.6132, allocations: 194 kB / 0.7991 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008499/0.6141, allocations: 377.4 kB / 0.7995 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.6251, allocations: 5.103 MB / 0.8045 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.6663, allocations: 30.75 MB / 0.8345 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.6686, allocations: 1.387 MB / 0.8359 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.6705, allocations: 1.329 MB / 0.8371 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.847e-05/0.6707, allocations: 13.31 kB / 0.8372 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/0.6707, allocations: 55.88 kB / 0.8372 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=130): time 3.696e-06/0.6707, allocations: 3.938 kB / 0.8372 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=199): time 0.08985/0.7606, allocations: 23.07 MB / 0.8597 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.7607, allocations: 73.41 kB / 0.8598 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.7638, allocations: 2.062 MB / 0.8618 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.7641, allocations: 57.7 kB / 0.8619 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.7657, allocations: 2.01 MB / 0.8638 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007305/0.7664, allocations: 0.67 MB / 0.8645 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008144/0.7673, allocations: 412.1 kB / 0.8649 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7674, allocations: 313.1 kB / 0.8652 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.7697, allocations: 1.426 MB / 0.8666 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.7724, allocations: 2.021 MB / 0.8686 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/0.7777, allocations: 3.696 MB / 0.8722 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.7777, allocations: 4 kB / 0.8722 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01188/0.7896, allocations: 5.661 MB / 0.8777 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.7896, allocations: 15.98 kB / 0.8777 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.7896, allocations: 19.94 kB / 0.8777 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007234/0.7969, allocations: 2.087 MB / 0.8798 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.7986, allocations: 383.3 kB / 0.8801 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04404/0.8426, allocations: 38.45 MB / 0.9177 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.8453, allocations: 127.9 kB / 0.9178 GB, free: 400 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.8457, allocations: 91.94 kB / 0.9179 GB, free: 308 kB / 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 (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.003193/0.8489, allocations: 1.504 MB / 0.9194 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/0.8496, allocations: 284.6 kB / 0.9196 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.8606, allocations: 5.215 MB / 0.9247 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.8606, allocations: 20 kB / 0.9248 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/0.8607, allocations: 16 kB / 0.9248 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/0.8607, allocations: 15.95 kB / 0.9248 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/0.8802, allocations: 9.672 MB / 0.9342 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.8802, allocations: 8.844 kB / 0.9342 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/0.8811, allocations: 211.6 kB / 0.9344 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006062/0.8872, allocations: 1.869 MB / 0.9363 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/0.8874, allocations: 36 kB / 0.9363 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04017/0.9276, allocations: 37.47 MB / 0.9729 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.9276, allocations: 7.938 kB / 0.9729 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009912/0.9376, allocations: 4.913 MB / 0.9777 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/0.9394, allocations: 0.6111 MB / 0.9783 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/0.9399, allocations: 47.98 kB / 0.9783 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.9413, allocations: 131.8 kB / 0.9785 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006395/0.9419, allocations: 189.6 kB / 0.9786 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.9421, allocations: 55.94 kB / 0.9787 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002079/0.9442, allocations: 1.382 MB / 0.98 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.034e-06/0.9442, allocations: 0 / 0.98 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003687/0.9479, allocations: 1.051 MB / 0.9811 GB, free: 12.54 MB / 0.7481 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.0003466/0.9482, allocations: 171.5 kB / 0.9812 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01269/0.9609, allocations: 7.21 MB / 0.9883 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.961, allocations: 4.188 kB / 0.9883 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007178/0.9682, allocations: 4.402 MB / 0.9926 GB, free: 296 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2711/1.239, allocations: 0.9905 MB / 0.9935 GB, free: 230.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.252, allocations: 10.61 MB / 1.004 GB, free: 226 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/1.255, allocations: 3.185 MB / 1.007 GB, free: 225.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/1.256, allocations: 157.9 kB / 1.007 GB, free: 225.2 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/1.256, allocations: 3.188 kB / 1.007 GB, free: 225.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.5364/1.792, allocations: 464.7 MB / 1.461 GB, free: 98.25 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)