Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.001109/0.001109, allocations: 108.5 kB / 16.41 MB, free: 6.488 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.001181/0.001181, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.643/0.643, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 66.23 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.124, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03841/0.1624, allocations: 41.16 MB / 0.6718 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.1839, allocations: 15.1 MB / 0.6865 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003286/0.1872, allocations: 191 kB / 0.6867 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009895/0.1972, allocations: 4.466 MB / 0.6911 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.2038, allocations: 2.927 MB / 0.6939 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006293/0.2101, allocations: 3.165 MB / 0.697 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01122/0.2213, allocations: 11.43 MB / 0.7082 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.2346, allocations: 12.47 MB / 0.7204 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.2411, allocations: 4.9 MB / 0.7252 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00729/0.2484, allocations: 5.39 MB / 0.7304 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.2504, allocations: 0.9531 MB / 0.7314 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.2546, allocations: 2.044 MB / 0.7333 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004083/0.2586, allocations: 3.688 MB / 0.7369 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006733/0.2654, allocations: 4.295 MB / 0.7411 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2976/0.563, allocations: 14.28 MB / 0.7551 GB, free: 39.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.5631, allocations: 2.688 kB / 0.7551 GB, free: 39.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5631, allocations: 0 / 0.7551 GB, free: 39.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003763/0.5635, allocations: 0 / 0.7551 GB, free: 39.55 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02545/0.5889, allocations: 7.601 MB / 0.7625 GB, free: 36.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.589, allocations: 9.75 kB / 0.7625 GB, free: 36.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003648/0.5927, allocations: 0.8938 MB / 0.7634 GB, free: 36.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.6036, allocations: 1.519 MB / 0.7649 GB, free: 36.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00974/0.6133, allocations: 4.443 MB / 0.7692 GB, free: 35.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.6137, allocations: 455.2 kB / 0.7696 GB, free: 35.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00275/0.6164, allocations: 0.5931 MB / 0.7702 GB, free: 35.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.6359, allocations: 10.69 MB / 0.7807 GB, free: 34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.6361, allocations: 32.64 kB / 0.7807 GB, free: 34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007067/0.6368, allocations: 264.2 kB / 0.7809 GB, free: 34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.639, allocations: 0.7733 MB / 0.7817 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.6514, allocations: 8.559 MB / 0.7901 GB, free: 31.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05042/0.7018, allocations: 46.54 MB / 0.8355 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/0.7079, allocations: 4.307 MB / 0.8397 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005633/0.7136, allocations: 3.714 MB / 0.8433 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.714, allocations: 42.22 kB / 0.8434 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.546e-05/0.7141, allocations: 76.72 kB / 0.8435 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.881e-06/0.7141, allocations: 4.469 kB / 0.8435 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.4506/1.165, allocations: 122.8 MB / 0.9634 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/1.165, allocations: 111.9 kB / 0.9635 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/1.169, allocations: 2.685 MB / 0.9661 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007533/1.169, allocations: 125.7 kB / 0.9662 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/1.171, allocations: 2.684 MB / 0.9688 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/1.173, allocations: 1.951 MB / 0.9707 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002298/1.175, allocations: 0.9209 MB / 0.9716 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/1.175, allocations: 305.1 kB / 0.9719 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005562/1.181, allocations: 4.083 MB / 0.9759 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006138/1.187, allocations: 5.014 MB / 0.9808 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.2, allocations: 9.847 MB / 0.9904 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/1.2, allocations: 12 kB / 0.9904 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03612/1.236, allocations: 16.99 MB / 1.007 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/1.236, allocations: 12 kB / 1.007 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/1.236, allocations: 28.12 kB / 1.007 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02941/1.265, allocations: 9.078 MB / 1.016 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.268, allocations: 0.5314 MB / 1.016 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3609/1.629, allocations: 76.95 MB / 1.092 GB, free: 271.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.633, allocations: 277.8 kB / 1.092 GB, free: 271.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/1.634, allocations: 194.4 kB / 1.092 GB, free: 271.7 MB / 0.795 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00379/1.638, allocations: 2.422 MB / 1.094 GB, free: 270.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.639, allocations: 471.8 kB / 1.095 GB, free: 270.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03101/1.67, allocations: 16.82 MB / 1.111 GB, free: 261.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/1.67, allocations: 56 kB / 1.111 GB, free: 261.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000134/1.67, allocations: 72 kB / 1.111 GB, free: 261.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-05/1.67, allocations: 29.02 kB / 1.111 GB, free: 261.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04398/1.714, allocations: 25.66 MB / 1.136 GB, free: 236.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/1.714, allocations: 10.3 kB / 1.137 GB, free: 236.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.716, allocations: 319.5 kB / 1.137 GB, free: 236.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0242/1.74, allocations: 8.265 MB / 1.145 GB, free: 227.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007043/1.741, allocations: 114.1 kB / 1.145 GB, free: 227.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07478/1.816, allocations: 73.83 MB / 1.217 GB, free: 152.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.816, allocations: 11.94 kB / 1.217 GB, free: 152.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03466/1.851, allocations: 21.56 MB / 1.238 GB, free: 130.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.854, allocations: 1.354 MB / 1.239 GB, free: 129.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/1.855, allocations: 110.1 kB / 1.24 GB, free: 129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/1.858, allocations: 287.6 kB / 1.24 GB, free: 128.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001715/1.86, allocations: 0.5241 MB / 1.24 GB, free: 128.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000529/1.861, allocations: 144 kB / 1.241 GB, free: 128.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002055/1.863, allocations: 1.78 MB / 1.242 GB, free: 126.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.863, allocations: 0 / 1.242 GB, free: 126.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007368/1.87, allocations: 2.465 MB / 1.245 GB, free: 123.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03529/1.905, allocations: 22.28 MB / 1.266 GB, free: 101.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02027/1.926, allocations: 14.54 MB / 1.281 GB, free: 86.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.926, allocations: 4 kB / 1.281 GB, free: 86.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01376/1.94, allocations: 9.346 MB / 1.29 GB, free: 77.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.945, allocations: 1.373 MB / 1.291 GB, free: 75.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1049/2.05, allocations: 70.16 MB / 1.36 GB, free: 3.949 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2737/2.323, allocations: 4.894 MB / 1.364 GB, free: 280.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003052/2.326, allocations: 0.7403 MB / 1.365 GB, free: 280.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003491/2.33, allocations: 2.611 MB / 1.368 GB, free: 280.6 MB / 0.795 GB Notification: Performance of SimCode: time 1.282e-06/2.33, allocations: 0 / 1.368 GB, free: 280.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/2.572, allocations: 196.4 MB / 1.559 GB, free: 122.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/21.31, allocations: 4.062 kB / 1.559 GB, free: 122.4 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)