Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, 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.001729/0.001729, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 279 kB / 290.4 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 101.8 kB / 0.6059 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1867, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008736/0.1955, allocations: 6.146 MB / 0.699 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00568/0.2013, allocations: 3.172 MB / 0.7021 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.202, allocations: 27.81 kB / 0.7021 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.2045, allocations: 0.8681 MB / 0.703 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.206, allocations: 438 kB / 0.7034 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.2073, allocations: 462.2 kB / 0.7038 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.2088, allocations: 1.108 MB / 0.7049 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.21, allocations: 0.7133 MB / 0.7056 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.2108, allocations: 438.3 kB / 0.706 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.2114, allocations: 490.1 kB / 0.7065 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.2115, allocations: 60 kB / 0.7065 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009689/0.2125, allocations: 491 kB / 0.707 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.2128, allocations: 283.3 kB / 0.7073 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.2132, allocations: 401.9 kB / 0.7077 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.2148, allocations: 1.215 MB / 0.7088 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2148, allocations: 0 / 0.7088 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2148, allocations: 0 / 0.7088 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.2148, allocations: 0 / 0.7088 GB, free: 4.441 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001755/0.2166, allocations: 1.056 MB / 0.7099 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2166, allocations: 12.03 kB / 0.7099 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.2182, allocations: 219.6 kB / 0.7101 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.2191, allocations: 0.5453 MB / 0.7106 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.2191, allocations: 49.66 kB / 0.7107 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2192, allocations: 68.34 kB / 0.7107 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.2209, allocations: 1.03 MB / 0.7118 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.2209, allocations: 11.84 kB / 0.7118 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.221, allocations: 27.98 kB / 0.7118 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.2211, allocations: 73.27 kB / 0.7119 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2223, allocations: 0.6918 MB / 0.7125 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.2282, allocations: 5.749 MB / 0.7181 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.2292, allocations: 0.5988 MB / 0.7187 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008553/0.2301, allocations: 420.6 kB / 0.7191 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.2301, allocations: 4 kB / 0.7191 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.2302, allocations: 38.56 kB / 0.7192 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.454e-06/0.2302, allocations: 0 / 0.7192 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004786/0.235, allocations: 2.057 MB / 0.7212 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.2351, allocations: 59.39 kB / 0.7212 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.2356, allocations: 458.8 kB / 0.7217 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.2357, allocations: 33.7 kB / 0.7217 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.236, allocations: 391 kB / 0.7221 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2362, allocations: 161.8 kB / 0.7222 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2364, allocations: 106.2 kB / 0.7223 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.2366, allocations: 358.8 kB / 0.7227 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.2369, allocations: 249.2 kB / 0.7229 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.2375, allocations: 461 kB / 0.7234 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.2386, allocations: 0.7517 MB / 0.7241 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2386, allocations: 4 kB / 0.7241 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002058/0.2407, allocations: 1.058 MB / 0.7251 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.2407, allocations: 13.39 kB / 0.7251 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2407, allocations: 4 kB / 0.7251 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.2419, allocations: 335.8 kB / 0.7255 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.2422, allocations: 95.83 kB / 0.7256 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008462/0.2507, allocations: 7.532 MB / 0.7329 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.2513, allocations: 27.98 kB / 0.7329 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.2513, allocations: 32 kB / 0.733 GB, free: 10.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004183/0.2517, allocations: 237.6 kB / 0.7332 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2518, allocations: 67.27 kB / 0.7333 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.2537, allocations: 0.9117 MB / 0.7342 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2537, allocations: 4 kB / 0.7342 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2537, allocations: 4 kB / 0.7342 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.2537, allocations: 3.984 kB / 0.7342 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.2567, allocations: 1.72 MB / 0.7358 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2567, allocations: 0 / 0.7358 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.2569, allocations: 43.91 kB / 0.7359 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.258, allocations: 323.5 kB / 0.7362 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.258, allocations: 8 kB / 0.7362 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008179/0.2662, allocations: 7.52 MB / 0.7435 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2663, allocations: 4 kB / 0.7435 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.2682, allocations: 1.007 MB / 0.7445 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.2685, allocations: 180.3 kB / 0.7447 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.2685, allocations: 8 kB / 0.7447 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.2688, allocations: 23.97 kB / 0.7447 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.269, allocations: 39.89 kB / 0.7448 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.269, allocations: 12 kB / 0.7448 GB, free: 13.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003657/0.2694, allocations: 310.9 kB / 0.7451 GB, free: 12.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2694, allocations: 0 / 0.7451 GB, free: 12.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008258/0.2702, allocations: 199.9 kB / 0.7453 GB, free: 12.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001705/0.2704, allocations: 119.1 kB / 0.7454 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.2724, allocations: 1.242 MB / 0.7466 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.2725, allocations: 4 kB / 0.7466 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.2738, allocations: 0.8581 MB / 0.7474 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.2748, allocations: 204.7 kB / 0.7476 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.2772, allocations: 1.538 MB / 0.7491 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.278, allocations: 0.996 MB / 0.7501 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.2783, allocations: 101.2 kB / 0.7502 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.2784, allocations: 39.42 kB / 0.7502 GB, free: 7.492 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.2784, allocations: 3.938 kB / 0.7502 GB, free: 7.488 MB / 0.545 GB Notification: Performance of Templates: time 0.01997/0.2984, allocations: 10.05 MB / 0.7601 GB, free: 13.55 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)