Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001209/0.001209, allocations: 101.8 kB / 16.27 MB, free: 5.93 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.001348/0.001348, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.253/1.253, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2945, allocations: 77.91 MB / 0.5673 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006535/0.3011, allocations: 6.129 MB / 0.5733 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00418/0.3053, allocations: 3.178 MB / 0.5764 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.3057, allocations: 29.19 kB / 0.5764 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.3077, allocations: 0.9253 MB / 0.5773 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008964/0.3086, allocations: 472.7 kB / 0.5778 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3096, allocations: 0.5032 MB / 0.5783 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.3105, allocations: 1.104 MB / 0.5793 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007314/0.3112, allocations: 0.641 MB / 0.58 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.3116, allocations: 440.2 kB / 0.5804 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.3121, allocations: 481.1 kB / 0.5808 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.3122, allocations: 57.56 kB / 0.5809 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.313, allocations: 484.4 kB / 0.5814 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.3133, allocations: 289.5 kB / 0.5816 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.3136, allocations: 399.4 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.3146, allocations: 1.171 MB / 0.5832 GB, free: 22.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3146, allocations: 2 kB / 0.5832 GB, free: 22.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3146, allocations: 0 / 0.5832 GB, free: 22.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3146, allocations: 1.875 kB / 0.5832 GB, free: 22.89 MB / 446.1 MB 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.001214/0.3158, allocations: 1.057 MB / 0.5842 GB, free: 22.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3159, allocations: 9.969 kB / 0.5842 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.511e-05/0.316, allocations: 116.4 kB / 0.5843 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.3173, allocations: 214.2 kB / 0.5845 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.318, allocations: 0.5437 MB / 0.585 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.318, allocations: 56.5 kB / 0.5851 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.3181, allocations: 63.86 kB / 0.5852 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3192, allocations: 1.027 MB / 0.5862 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3193, allocations: 12.92 kB / 0.5862 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.3193, allocations: 28.8 kB / 0.5862 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-05/0.3194, allocations: 66.66 kB / 0.5863 GB, free: 20.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.3203, allocations: 0.6922 MB / 0.5869 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.3236, allocations: 5.765 MB / 0.5926 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.3243, allocations: 0.5993 MB / 0.5932 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/0.325, allocations: 421.8 kB / 0.5936 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.325, allocations: 4.5 kB / 0.5936 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.325, allocations: 36.72 kB / 0.5936 GB, free: 14.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.674e-06/0.325, allocations: 0 / 0.5936 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003778/0.3288, allocations: 2.06 MB / 0.5956 GB, free: 12.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.3289, allocations: 59.66 kB / 0.5957 GB, free: 12.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.3293, allocations: 462.5 kB / 0.5961 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3293, allocations: 30.64 kB / 0.5961 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3295, allocations: 385.8 kB / 0.5965 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.3296, allocations: 160.6 kB / 0.5967 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3297, allocations: 106.2 kB / 0.5968 GB, free: 11.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.3298, allocations: 366.8 kB / 0.5971 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.3301, allocations: 245.2 kB / 0.5973 GB, free: 11.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.3304, allocations: 461 kB / 0.5978 GB, free: 10.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.331, allocations: 0.7442 MB / 0.5985 GB, free: 9.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.331, allocations: 7.938 kB / 0.5985 GB, free: 9.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001411/0.3324, allocations: 1.074 MB / 0.5996 GB, free: 8.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3325, allocations: 8 kB / 0.5996 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3325, allocations: 4 kB / 0.5996 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008912/0.3334, allocations: 339.3 kB / 0.5999 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.3336, allocations: 91.83 kB / 0.6 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0047/0.3383, allocations: 7.528 MB / 0.6073 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.3387, allocations: 24.03 kB / 0.6074 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.3387, allocations: 28 kB / 0.6074 GB, free: 156 kB / 446.1 MB 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.0002712/0.339, allocations: 249.5 kB / 0.6076 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.3391, allocations: 59.62 kB / 0.6077 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3407, allocations: 0.9117 MB / 0.6086 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3407, allocations: 4 kB / 0.6086 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3407, allocations: 11.88 kB / 0.6086 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3407, allocations: 7.984 kB / 0.6086 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.3431, allocations: 1.705 MB / 0.6103 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3431, allocations: 8.188 kB / 0.6103 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.3433, allocations: 35.97 kB / 0.6103 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/0.3442, allocations: 327 kB / 0.6106 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3442, allocations: 12 kB / 0.6106 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006245/0.3504, allocations: 7.513 MB / 0.618 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3505, allocations: 4 kB / 0.618 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.352, allocations: 1.007 MB / 0.619 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.3522, allocations: 172.4 kB / 0.6191 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.3523, allocations: 8 kB / 0.6191 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.3525, allocations: 24.25 kB / 0.6191 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.3526, allocations: 39.95 kB / 0.6192 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3527, allocations: 12 kB / 0.6192 GB, free: 3.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.353, allocations: 318.7 kB / 0.6195 GB, free: 2.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.353, allocations: 4 kB / 0.6195 GB, free: 2.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007252/0.3537, allocations: 192 kB / 0.6197 GB, free: 2.797 MB / 462.1 MB 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.001764/0.3555, allocations: 1.572 MB / 0.6212 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3573, allocations: 1.245 MB / 0.6224 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3573, allocations: 4.125 kB / 0.6224 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3584, allocations: 0.8551 MB / 0.6233 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.3594, allocations: 208 kB / 0.6235 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/0.367, allocations: 6.006 MB / 0.6293 GB, free: 8.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.3676, allocations: 0.9921 MB / 0.6303 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.3679, allocations: 105.2 kB / 0.6304 GB, free: 7.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.3681, allocations: 227.4 kB / 0.6306 GB, free: 7.086 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3681, allocations: 0 / 0.6306 GB, free: 7.086 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09878/0.4669, allocations: 15.28 MB / 0.6456 GB, free: 8.098 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.45, allocations: 3.938 kB / 0.6456 GB, free: 8.094 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)