Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001356/0.001356, 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.001577/0.001577, allocations: 195.7 kB / 16.25 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 279 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9678/0.9678, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 97.81 kB / 0.5948 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1655, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03675/0.2023, allocations: 34.51 MB / 0.7134 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.2224, allocations: 11.4 MB / 0.7246 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.226, allocations: 143.2 kB / 0.7247 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.2363, allocations: 4.004 MB / 0.7286 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.2425, allocations: 1.832 MB / 0.7304 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005869/0.2484, allocations: 2.178 MB / 0.7325 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009427/0.2579, allocations: 8.491 MB / 0.7408 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01745/0.2754, allocations: 13.44 MB / 0.7539 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.2811, allocations: 3.785 MB / 0.7576 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/0.2874, allocations: 4.389 MB / 0.7619 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.2894, allocations: 0.7812 MB / 0.7627 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005028/0.2945, allocations: 2.024 MB / 0.7647 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004833/0.2993, allocations: 3.057 MB / 0.7677 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005274/0.3046, allocations: 3.4 MB / 0.771 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.6726/0.9772, allocations: 12.01 MB / 0.7827 GB, free: 39.91 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.9773, allocations: 0.9688 kB / 0.7827 GB, free: 39.91 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.116e-06/0.9773, allocations: 0 / 0.7827 GB, free: 39.91 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0005945/0.9779, allocations: 0.5312 kB / 0.7827 GB, free: 39.91 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02552/1.003, allocations: 5.797 MB / 0.7884 GB, free: 37.85 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.003, allocations: 11.47 kB / 0.7884 GB, free: 37.85 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004411/1.008, allocations: 0.8087 MB / 0.7892 GB, free: 37.77 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008474/1.016, allocations: 1.061 MB / 0.7902 GB, free: 37.48 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/1.026, allocations: 3.259 MB / 0.7934 GB, free: 36.82 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000668/1.027, allocations: 412.4 kB / 0.7938 GB, free: 36.81 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004291/1.032, allocations: 0.5423 MB / 0.7943 GB, free: 36.8 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03269/1.064, allocations: 9.075 MB / 0.8032 GB, free: 35.79 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006387/1.065, allocations: 29.72 kB / 0.8032 GB, free: 35.78 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004041/1.069, allocations: 237.9 kB / 0.8034 GB, free: 35.78 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006621/1.07, allocations: 346.1 kB / 0.8038 GB, free: 35.77 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/1.091, allocations: 6.828 MB / 0.8104 GB, free: 35.07 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05325/1.144, allocations: 40.11 MB / 0.8496 GB, free: 14.6 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/1.148, allocations: 3.106 MB / 0.8526 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/1.151, allocations: 1.973 MB / 0.8546 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/1.151, allocations: 21.45 kB / 0.8546 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.151, allocations: 60.33 kB / 0.8546 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=179): time 3.877e-06/1.151, allocations: 3.828 kB / 0.8546 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of matching and sorting (n=182): time 0.02607/1.177, allocations: 9.965 MB / 0.8644 GB, free: 5.797 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/1.177, allocations: 73.67 kB / 0.8644 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/1.18, allocations: 1.528 MB / 0.8659 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/1.18, allocations: 56.55 kB / 0.866 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/1.182, allocations: 2.25 MB / 0.8682 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.000711/1.183, allocations: 0.6348 MB / 0.8688 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/1.183, allocations: 408.3 kB / 0.8692 GB, free: 2.062 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.183, allocations: 308.4 kB / 0.8695 GB, free: 1.762 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/1.185, allocations: 1.179 MB / 0.8706 GB, free: 1.145 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/1.187, allocations: 1.884 MB / 0.8725 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/1.192, allocations: 3.367 MB / 0.8758 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/1.192, allocations: 12 kB / 0.8758 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007838/1.199, allocations: 4.581 MB / 0.8803 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.199, allocations: 16 kB / 0.8803 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/1.199, allocations: 20 kB / 0.8803 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/1.203, allocations: 1.593 MB / 0.8818 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.204, allocations: 354.8 kB / 0.8822 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/1.227, allocations: 18.59 MB / 0.9003 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.229, allocations: 119.9 kB / 0.9005 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/1.23, allocations: 94.3 kB / 0.9005 GB, free: 2.129 MB / 0.6075 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003881/1.234, allocations: 1.901 MB / 0.9024 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/1.234, allocations: 225.3 kB / 0.9026 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007445/1.242, allocations: 4.09 MB / 0.9066 GB, free: 11.96 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.242, allocations: 20 kB / 0.9066 GB, free: 11.95 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-05/1.242, allocations: 16 kB / 0.9066 GB, free: 11.93 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/1.242, allocations: 7.969 kB / 0.9067 GB, free: 11.92 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/1.26, allocations: 9.488 MB / 0.9159 GB, free: 2.305 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.26, allocations: 4 kB / 0.9159 GB, free: 2.301 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/1.261, allocations: 178.7 kB / 0.9161 GB, free: 2.137 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/1.265, allocations: 1.367 MB / 0.9174 GB, free: 0.7617 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/1.265, allocations: 32 kB / 0.9175 GB, free: 0.7305 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/1.287, allocations: 17.37 MB / 0.9344 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.287, allocations: 11.75 kB / 0.9344 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007005/1.294, allocations: 4.067 MB / 0.9384 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.295, allocations: 0.5335 MB / 0.9389 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005715/1.296, allocations: 32 kB / 0.939 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.297, allocations: 88.39 kB / 0.939 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004828/1.297, allocations: 161.6 kB / 0.9392 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.297, allocations: 44 kB / 0.9392 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001656/1.299, allocations: 1.005 MB / 0.9402 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.299, allocations: 0 / 0.9402 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003619/1.303, allocations: 0.9883 MB / 0.9412 GB, free: 7.867 MB / 0.6544 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007064/1.31, allocations: 4.672 MB / 0.9457 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008685/1.319, allocations: 5.197 MB / 0.9508 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.319, allocations: 0 / 0.9508 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/1.323, allocations: 2.662 MB / 0.9534 GB, free: 11.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.327, allocations: 0.7843 MB / 0.9542 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05305/1.38, allocations: 30.93 MB / 0.9844 GB, free: 9.906 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005676/1.386, allocations: 3.573 MB / 0.9879 GB, free: 6.297 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.001464/1.387, allocations: 463.9 kB / 0.9883 GB, free: 5.84 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/1.389, allocations: 1.788 MB / 0.9901 GB, free: 4.051 MB / 0.7013 GB Notification: Performance of SimCode: time 7.42e-07/1.389, allocations: 4 kB / 0.9901 GB, free: 4.047 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5096/1.899, allocations: 72.68 MB / 1.061 GB, free: 271.2 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.899, allocations: 256.9 kB / 1.061 GB, free: 270.9 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.98, allocations: 1.875 kB / 1.061 GB, free: 270.9 MB / 0.7638 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)