Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.004799/0.004799, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.309/1.309, allocations: 222.9 MB / 239.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001846, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5412/0.5412, allocations: 91.9 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 79.23 kB / 0.5722 GB, free: 33.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 71.29 MB / 0.6419 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.006648/0.1444, allocations: 6.068 MB / 0.6478 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.1483, allocations: 1.778 MB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.149, allocations: 12 kB / 0.6495 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.1496, allocations: 238.1 kB / 0.6498 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.1512, allocations: 0.594 MB / 0.6503 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.1529, allocations: 0.764 MB / 0.6511 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1543, allocations: 1.366 MB / 0.6524 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.1547, allocations: 287.9 kB / 0.6527 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.1554, allocations: 0.5446 MB / 0.6532 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/0.1561, allocations: 0.704 MB / 0.6539 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1563, allocations: 107.9 kB / 0.654 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.1567, allocations: 211.9 kB / 0.6542 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.157, allocations: 274.8 kB / 0.6545 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.1575, allocations: 0.5943 MB / 0.6551 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.1588, allocations: 1.455 MB / 0.6565 GB, free: 5.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1589, allocations: 4 kB / 0.6565 GB, free: 5.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1589, allocations: 0 / 0.6565 GB, free: 5.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1589, allocations: 0 / 0.6565 GB, free: 5.043 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007553/0.1664, allocations: 2.504 MB / 0.6589 GB, free: 2.484 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1665, allocations: 8.031 kB / 0.6589 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.1667, allocations: 118.5 kB / 0.659 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/0.1706, allocations: 0.6736 MB / 0.6597 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1718, allocations: 0.7361 MB / 0.6604 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.1721, allocations: 345.3 kB / 0.6608 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1723, allocations: 79.92 kB / 0.6608 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.1743, allocations: 1.102 MB / 0.6619 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1744, allocations: 0 / 0.6619 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.1745, allocations: 32 kB / 0.6619 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1745, allocations: 16 kB / 0.662 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.1766, allocations: 1.054 MB / 0.663 GB, free: 14.19 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/0.1828, allocations: 3.441 MB / 0.6663 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.1939, allocations: 3.083 MB / 0.6694 GB, free: 7.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.1957, allocations: 0.7146 MB / 0.67 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.1958, allocations: 16.58 kB / 0.6701 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.1959, allocations: 43.22 kB / 0.6701 GB, free: 6.633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 3.356e-06/0.1959, allocations: 0 / 0.6701 GB, free: 6.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02869/0.2246, allocations: 7.717 MB / 0.6776 GB, free: 14.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.2247, allocations: 89.7 kB / 0.6777 GB, free: 14.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.2259, allocations: 0.8774 MB / 0.6786 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.226, allocations: 41.7 kB / 0.6786 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.2263, allocations: 468.2 kB / 0.6791 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.2266, allocations: 291.7 kB / 0.6793 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.227, allocations: 166.5 kB / 0.6795 GB, free: 12.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2271, allocations: 345.9 kB / 0.6798 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.2284, allocations: 0.6305 MB / 0.6805 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.2299, allocations: 0.7958 MB / 0.6812 GB, free: 11.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.2326, allocations: 1.445 MB / 0.6826 GB, free: 9.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.2326, allocations: 0 / 0.6826 GB, free: 9.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01288/0.2455, allocations: 4.228 MB / 0.6868 GB, free: 5.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2455, allocations: 4 kB / 0.6868 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2456, allocations: 4 kB / 0.6868 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006738/0.2523, allocations: 2.158 MB / 0.6889 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.253, allocations: 127.8 kB / 0.689 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/0.2763, allocations: 10.07 MB / 0.6988 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.2778, allocations: 163 kB / 0.699 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/0.2779, allocations: 39.98 kB / 0.699 GB, free: 8.582 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004066/0.2783, allocations: 221.7 kB / 0.6993 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.2785, allocations: 110.6 kB / 0.6994 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.291, allocations: 4.123 MB / 0.7034 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.2911, allocations: 8 kB / 0.7034 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2911, allocations: 0 / 0.7034 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.2911, allocations: 11.86 kB / 0.7034 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.3053, allocations: 5.554 MB / 0.7088 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.3053, allocations: 3.938 kB / 0.7088 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.3058, allocations: 71.91 kB / 0.7089 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006385/0.3122, allocations: 2.051 MB / 0.7109 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.3123, allocations: 20 kB / 0.7109 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.3327, allocations: 8.924 MB / 0.7196 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3328, allocations: 0 / 0.7196 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.3471, allocations: 5.084 MB / 0.7246 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.3475, allocations: 195.5 kB / 0.7248 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3477, allocations: 20 kB / 0.7248 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.3486, allocations: 103.9 kB / 0.7249 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007195/0.3494, allocations: 224.6 kB / 0.7251 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.3494, allocations: 28 kB / 0.7251 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007703/0.3502, allocations: 0.6031 MB / 0.7257 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3502, allocations: 0 / 0.7257 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001283/0.3515, allocations: 411.7 kB / 0.7261 GB, free: 12.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01476/0.3663, allocations: 5.652 MB / 0.7316 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006678/0.373, allocations: 2.473 MB / 0.7341 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.373, allocations: 4 kB / 0.7341 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004954/0.378, allocations: 1.709 MB / 0.7357 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.3789, allocations: 88.22 kB / 0.7358 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03503/0.4139, allocations: 15.11 MB / 0.7506 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.4145, allocations: 1.053 MB / 0.7516 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003234/0.4149, allocations: 74.33 kB / 0.7517 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.4153, allocations: 407.3 kB / 0.7521 GB, free: 1.527 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.4153, allocations: 0 / 0.7521 GB, free: 1.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/0.7469, allocations: 35.43 MB / 0.7867 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.59, allocations: 2.359 kB / 0.7867 GB, free: 116.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)