Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009212/0.0009212, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8625/0.8625, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7229/0.7229, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.057e-05, allocations: 7.5 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01792/0.01794, allocations: 25.04 MB / 0.6425 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009433/0.02737, allocations: 7.973 MB / 0.6503 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.02848, allocations: 158.8 kB / 0.6505 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.0316, allocations: 2.787 MB / 0.6532 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.03403, allocations: 1.709 MB / 0.6549 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.03629, allocations: 1.697 MB / 0.6565 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.04071, allocations: 6.262 MB / 0.6626 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003598/0.04431, allocations: 3.758 MB / 0.6663 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.0476, allocations: 3.719 MB / 0.6699 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.05007, allocations: 2.65 MB / 0.6725 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.05051, allocations: 0.5078 MB / 0.673 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.05189, allocations: 1.216 MB / 0.6742 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.05309, allocations: 2.198 MB / 0.6763 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.05435, allocations: 1.661 MB / 0.678 GB, free: 84 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2688/0.3232, allocations: 8.209 MB / 0.686 GB, free: 59.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3232, allocations: 0 / 0.686 GB, free: 59.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3232, allocations: 0 / 0.686 GB, free: 59.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.977e-05/0.3232, allocations: 1.094 kB / 0.686 GB, free: 59.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.003904/0.3271, allocations: 4.211 MB / 0.6901 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3272, allocations: 12.34 kB / 0.6901 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005079/0.3277, allocations: 0.5353 MB / 0.6906 GB, free: 57.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.3299, allocations: 0.8357 MB / 0.6914 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.3328, allocations: 2.531 MB / 0.6939 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.3329, allocations: 273.5 kB / 0.6942 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.3333, allocations: 375.2 kB / 0.6945 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.3391, allocations: 6.439 MB / 0.7008 GB, free: 55.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.3392, allocations: 25.36 kB / 0.7009 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.3395, allocations: 159.1 kB / 0.701 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/0.3398, allocations: 287.7 kB / 0.7013 GB, free: 55.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.3439, allocations: 4.517 MB / 0.7057 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/0.368, allocations: 17.97 MB / 0.7232 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.3692, allocations: 1.054 MB / 0.7243 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/0.3702, allocations: 0.9662 MB / 0.7252 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.3702, allocations: 12.47 kB / 0.7252 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3703, allocations: 45.27 kB / 0.7253 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.606e-06/0.3703, allocations: 1.156 kB / 0.7253 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.01405/0.3843, allocations: 9.097 MB / 0.7341 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.3843, allocations: 65.31 kB / 0.7342 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.3863, allocations: 1.533 MB / 0.7357 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.3864, allocations: 50.73 kB / 0.7358 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008166/0.3872, allocations: 1.708 MB / 0.7374 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.3876, allocations: 487.3 kB / 0.7379 GB, free: 36.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.388, allocations: 326.1 kB / 0.7382 GB, free: 36.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.388, allocations: 302.5 kB / 0.7385 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.3892, allocations: 0.916 MB / 0.7394 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.3905, allocations: 1.465 MB / 0.7408 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.3928, allocations: 2.543 MB / 0.7433 GB, free: 33.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.3928, allocations: 8.094 kB / 0.7433 GB, free: 33.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004146/0.3969, allocations: 3.279 MB / 0.7465 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.397, allocations: 15.05 kB / 0.7465 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.397, allocations: 17.34 kB / 0.7465 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.3984, allocations: 0.7413 MB / 0.7473 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3995, allocations: 385.7 kB / 0.7476 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.4079, allocations: 16 MB / 0.7633 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.4095, allocations: 104.8 kB / 0.7634 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.4096, allocations: 82.66 kB / 0.7634 GB, free: 18.2 MB / 0.6355 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.002031/0.4116, allocations: 1.308 MB / 0.7647 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.412, allocations: 209.6 kB / 0.7649 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.4149, allocations: 2.769 MB / 0.7676 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4149, allocations: 11.94 kB / 0.7676 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.4149, allocations: 7.812 kB / 0.7676 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4149, allocations: 7.938 kB / 0.7676 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007432/0.4223, allocations: 5.887 MB / 0.7734 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4224, allocations: 5.625 kB / 0.7734 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.423, allocations: 236.9 kB / 0.7736 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.424, allocations: 0.6689 MB / 0.7743 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.4241, allocations: 29.55 kB / 0.7743 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/0.4312, allocations: 15.76 MB / 0.7897 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4312, allocations: 5.094 kB / 0.7897 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.4355, allocations: 3.985 MB / 0.7936 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/0.4364, allocations: 386 kB / 0.794 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4366, allocations: 33.69 kB / 0.794 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.4371, allocations: 79.86 kB / 0.7941 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.4374, allocations: 127.4 kB / 0.7942 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.4374, allocations: 40.67 kB / 0.7942 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009944/0.4384, allocations: 0.9947 MB / 0.7952 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4384, allocations: 2.078 kB / 0.7952 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001791/0.4402, allocations: 0.6852 MB / 0.7959 GB, free: 12.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004726/0.4449, allocations: 4.581 MB / 0.8003 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004137/0.4491, allocations: 3.373 MB / 0.8036 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.4491, allocations: 4 kB / 0.8036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.4511, allocations: 2.242 MB / 0.8058 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.4536, allocations: 0.677 MB / 0.8065 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/0.4806, allocations: 21.2 MB / 0.8272 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.4827, allocations: 2.109 MB / 0.8293 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001038/0.4837, allocations: 481.4 kB / 0.8297 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.4848, allocations: 1.281 MB / 0.831 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/0.4848, allocations: 4 kB / 0.831 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09072/0.5755, allocations: 61.4 MB / 0.8909 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.132, allocations: 14.89 kB / 0.8909 GB, free: 11.73 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.885263332165778] Failed to read output from testmodel.py, exit status != 0: 9.240082954987884 9.247505349 8.922622498 Calling exit ...